码迷,mamicode.com
首页 > 编程语言 > 详细

python爬虫参数过多时,批量生成参数

时间:2020-04-27 22:59:15      阅读:121      评论:0      收藏:0      [点我收藏+]

标签:ict   print   python爬虫   int   str   rip   json   生成   imp   

#     dict1 = {}
# import json,re
# res = re.findall(‘\n(.*?)\n‘,str1)
# for i in res:
# aaa = i.split(‘:‘)
# print(aaa)
# if len(aaa) ==2 :
# dict1[aaa[0].strip()] = aaa[1]
# print(dict1)

python爬虫参数过多时,批量生成参数

标签:ict   print   python爬虫   int   str   rip   json   生成   imp   

原文地址:https://www.cnblogs.com/hushuning/p/12790405.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!