简体   繁体   中英

what is this request response format?

i'm trying to scrape a website but the thing is that i get this as a response (most likely javascript? ). I am using request in order to send requests to the website. Is it possible to convert it to a parsable format? I thought of using jQuery to send request an accept a certain response format.But as of right now i'm mainly trying to identify the type of response i'm getting. Thank you.

The response i get:

Likely gzip

https://en.wikipedia.org/wiki/List_of_file_signatures

Click F12 and look at the response in a browser.

HTML is often gzipped and if you are not using a client that unzips it, then you will get the raw zip

How to understand a website is using gzip compression?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM