Home > other >  Ask god to see see! Python crawl cat's eye to comment on the source code and check with debuggi
Ask god to see see! Python crawl cat's eye to comment on the source code and check with debuggi

Time:01-09

Found the json file links: view-source:https://m.maoyan.com/mmdb/comments/movie/1200486.json? _v_=yes& Offset=0 & amp; StartTime=2018-07-28%2022% 3 a25%3 a03, but the use of
 header={
'the user-agent' : 'Mozilla/5.0 (Windows NT 10.0; Win64. X64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 '
}
Url="https://m.maoyan.com/mmdb/comments/movie/1200486.json? _v_=yes& Offset=0 & amp; StartTime=2018-07-28 2022% % 3 a25%3 a03 '
Data=https://bbs.csdn.net/topics/requests.get (url, headers=headers). The decode (' utf-8)
Print (data)




Got:



This is how to return a responsibility?
  • Related