ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.72k stars 10.07k forks source link

Unsupported URL when downloading from wildcard udemy (https://*.udemy.com) #15883

Closed adita22 closed 5 years ago

adita22 commented 6 years ago

Please follow the guide below


Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.03.14. 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?


The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


When I use youtube-dl to download from 'https://udemy.com/' it works fine:

e.g. youtube-dl -u xxx -p xxx https://udemy.com/java-tutorial/learn/v4/overview

When I use youtube-dl to download from 'https://*.udemy.com/' (in my case https://mycompany.udemy.com) I get unsupported URL error:

e.g. youtube-dl -u xxx -p xxx https://mycompany.udemy.com/java-tutorial/learn/v4/overview -v

Getting the error: Unsupported URL: https://mycompany.udemy.com/java-tutorial/

command > D:\App Data\Youtube-dl\youtube-dl-bin>youtube-dl -u xxx -p xxx https://mycompany.udemy.com/java-tutorial/learn/v4/overview -v

output: [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', 'https://mycompany.udemy.com/java-tutorial/learn/v4/overview', '-v'] [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252 [debug] youtube-dl version 2018.03.14 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299 [debug] exe versions: ffmpeg N-90315-gf706cdda56 [debug] Proxy map: {} [generic] overview: Requesting header [redirect] Following redirect to https://mycompany.udemy.com/java-tutorial/ [generic] java-tutorial: Requesting header WARNING: Falling back on generic information extractor. [generic] java-tutorial: Downloading webpage [generic] java-tutorial: Extracting information ERROR: Unsupported URL: https://mycompany.udemy.com/java-tutorial/ Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\YoutubeDL.py", line 785, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\extractor\common.py", line 440, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmph71axfm2\build\youtube_dl\extractor\generic.py", line 3151, in _real_extract youtube_dl.utils.UnsupportedError: Unsupported URL: https://mycompany.udemy.com/java-tutorial/

adita22 commented 6 years ago

https://gist.github.com/barbietunnie/8531d9c26cd1c0668e7278c7c4ba5853

"Is there a way I could download udemy videos from udemy for business? The custom URL is like mycompany.udemy.com but youtube-dL is not taking it.."

marzsv commented 6 years ago

If there's anyone who can take charge of this issue I can provide a udemy for business account, so he/she can implement this feature.

santosh-m commented 6 years ago

As of version 2018.09.18, it still seems not possible to download from Udemy Business account. Error it says is:

[generic] the-ultimate-mysql-bootcamp-go-from-sql-beginner-to-expert: Requesting header [redirect] Following redirect to https://mycompany.udemy.com/the-ultimate-mysql-bootcamp-go-from-sql-beginner-to-expert/learn/v4/ [generic] v4: Requesting header WARNING: Falling back on generic information extractor. [generic] v4: Downloading webpage [generic] v4: Extracting information ERROR: Unsupported URL: https://mycompany.udemy.com/the-ultimate-mysql-bootcamp-go-from-sql-beginner-to-expert/learn/v4

Could anyone fix this ? That would be a great help.

@adita22 / @marzsv : Have you guys found any fix for this ?

WangFeHung commented 6 years ago

As of version 2018.09.18, it still seems not possible to download from Udemy Business account. Error it says is:

[generic] the-ultimate-mysql-bootcamp-go-from-sql-beginner-to-expert: Requesting header [redirect] Following redirect to https://mycompany.udemy.com/the-ultimate-mysql-bootcamp-go-from-sql-beginner-to-expert/learn/v4/ [generic] v4: Requesting header WARNING: Falling back on generic information extractor. [generic] v4: Downloading webpage [generic] v4: Extracting information ERROR: Unsupported URL: https://mycompany.udemy.com/the-ultimate-mysql-bootcamp-go-from-sql-beginner-to-expert/learn/v4

Could anyone fix this ? That would be a great help.

@adita22 / @marzsv : @santosh-m Have you guys found any fix for this ? It would be a great help