用requests爬蟲拒絕301/302頁面的重定向而拿到Location(重定向頁面URL)的方法

def yunsite(): 'url' headers = {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Accept-Encoding': 'gzip, deflate, sdch, br',
相關文章
相關標籤/搜索