1
This commit is contained in:
@@ -3,7 +3,7 @@ from bs4 import BeautifulSoup as bs
|
|||||||
import json
|
import json
|
||||||
header={'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0'}
|
header={'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0'}
|
||||||
url="https://exam.detr.top/exam-b/movies"
|
url="https://exam.detr.top/exam-b/movies"
|
||||||
resp=requests.get(url,headers=header)
|
resp=requests.get(url,headers=header).text
|
||||||
resp.encoding="utf-8"
|
resp.encoding="utf-8"
|
||||||
#print(resp.text)
|
#print(resp.text)
|
||||||
soup=bs(resp.text,"html.parser")
|
soup=bs(resp.text,"html.parser")
|
||||||
|
|||||||
Reference in New Issue
Block a user