U
U
unixwz2016-02-23 15:30:16
Python
unixwz, 2016-02-23 15:30:16

How to bypass captcha from Yandex?

Hello. I have a question about the Yandex.Music service. This service does not have an official API, but there is something similar to it (found purely by chance - with your own hands). Here is an example of a link - link , if you make requests from the browser, and "brutally" refresh the page every second, everything will be OK, no captcha and other things, but if you make requests using the Python language and the httplib2 library , then literally after a couple of requests a captcha will appear ( tried specifying useragent headers, etc.).
The question is how can one pretend to be a real browser (in Python) and bypass the "instant" captcha?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2016-02-23
@unixwz

tried specifying useragent headers, etc.

Are cookies included in etc?
Are you sure you're passing all the headers?
Make requests identical if there are differences now. Here's a nice tool.
https://www.telerik.com/download/fiddler/fiddler4

N
nuclear_skillet21011, 2016-02-24
@nuclear_skillet21011

Look at selenium
Selenium WebDriver is a software library for managing browsers. WebDriver provides drivers for various browsers and client libraries in various programming languages ​​to manage these drivers.
I wish you success!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question