python12306车次信息爬取
12306车次查询
使用python进行车次信息查询
import urllib3
import pandas as pd
from collections import defaultdict
def find_all(sub, s):
index_list = []
index = s.find(sub)
while index != -1:
index_list.append(index)
index = s.find(sub, index +
原创
2020-12-29 19:04:18 ·
396 阅读 ·
0 评论