博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2020年12月22日

摘要: 正则表达式爬取豆瓣电影TOP前250的中英文名 1、首先要实现网页的数据的爬取。新建test.py文件 test.py 1 import requests 2 3 def get_Html_text(url,p): 4 try: 5 h= {'User-Agent':'Mozilla/5.0 (Wi 阅读全文

posted @ 2020-12-22 17:13 yqphare 阅读(339) 评论(0) 推荐(0) 编辑