上传文件至 /
This commit is contained in:
11
260331-2509165039.py
Normal file
11
260331-2509165039.py
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
import requests
|
||||||
|
from bs4 import BeautifulSoup
|
||||||
|
import json
|
||||||
|
import csv
|
||||||
|
|
||||||
|
headers = {'User-Agent':'Mozilla/5.0(Windows NT 10.0;Win64; x64) AppleWebKit/537.36(KHTML,like Gecko) Chrome/91.0.4472.124 Safari/537.36'}
|
||||||
|
|
||||||
|
movies = []
|
||||||
|
|
||||||
|
for start in range(0,250,25):
|
||||||
|
url = f'https://movie.douban.com/top250?start=0&filter='
|
||||||
Reference in New Issue
Block a user