How to extract XHR response data from the a website?
问题 I want to get a link to a kind of json document that some webpages download after getting loaded. For instance on this webpage : But it can be a very different document on a different webpage. Unfortunately I can't find the link in the source page with Beautfiul soup. So far I tried this : import requests import json data = { "Device[udid]": "", "API_KEY": "", "API_SECRET": "", "Device[change]": "", "fbToken": "" } headers = { "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64)