import requests
import re
url='/'
res=(url)#,verify=False
='gbk'
# print()
obj1=(r'.*?2021必看热片.*?<ul>(?P<movie>.*?)</ul>',)
obj2=(r".*?<a href='(?P<link>.*?)title")
res1=()
res2=()
for it in res1:
dic = ('movie')
print(dic)
# dic['movie'] = dic['movie'].strip()
for itt in res2:
dic2 = ()
print(dic2)
# dic2['link'] = dic2['link'].strip()
print('处理完毕')
相关文章
- 爬取电影天堂2021热门
- python爬去电影天堂恐怖片+游戏
- Requests+BeautifulSoup+正则表达式爬取猫眼电影Top100(名称,演员,评分,封面,上映时间,简介)
- Python 2.7_Second_try_爬取阳光电影网_获取电影下载地址并写入文件 20161207
- 【Python爬虫五十个小案例】爬取猫眼电影Top100
- Python网络爬虫实践案例:爬取猫眼电影Top100
- 这就是电子吗?中年转运最快的方式:走出去——早读(逆天打工人爬取热门微信文章解读)
- 【爬虫实战项目一】Python爬取豆瓣电影榜单数据
- 如何利用 C# 爬取「猫眼电影:国内票房榜」及对应影片信息!
- PowerBI也能做爬虫:爬取豆瓣Top电影排行榜