D
D
DontQuantum2021-08-27 15:12:48
Parsing
DontQuantum, 2021-08-27 15:12:48

How to parse g2a?

Maybe someone made a parser for the g2a site, I had a problem when using the requests library I send a get request to the site, I get "You don't have permission to access" in response, I tried to copy cookies from the browser, but without result. So far, the only option is selenium, but I don’t know if it will be possible to use it on the server, so I would like to do without it.
Can someone suggest something about this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-08-27
@DontQuantum

Compare the headers sent by the browser and your script, primarily User-Agent and/or Referer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question