Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
udemy requires CAPTCHAs now #19038
udemy requires CAPTCHAs now #19038
Comments
|
#18126 might be caused by the same problem as reported here |
because users kept bumping the issue in short period of time.
the cause of the problem(PerimeterX Bot Defender) has been menioned in #15839 (comment). |
|
It seems they upgraded PerimeterX to catch even the first downloads. Mine failed right with the first interaction with the server. |
|
probably, in such cases, it's difficult to identify what configuration that will minimize the bot detection(Cookies, Custom headers, User Agent, the time between requests...), and this problem does happen for other websites as well such as PluralSight, Yandex Music, Youtube... |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.01.27. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
After verifying that it works in the web browser, upgrading to the latest youtube-dl, and exporting the cookies again, the video course can't be downloaded.
Checking the response, it's clear, that udemy wants me to fill in a CAPTCHA form. The response contains the following strings:
As first response, I tried to change the User-Agent.
Youtube-dl uses the following User-Agent:
Specifying User-Agent with
--user-agentdid not help: it seems that this option ineffective for udemy (the used User-Agent was not changed).Modifying
udemy.pyto offerMozilla/5.0 (X11; Linux i686; rv:64.0) Gecko/20100101 Firefox/64.0changed the User-Agent in the request, but didn't help resolving the original issue (I am still required to fill CAPTCHAs).