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.
Pluralsight appears to be broken #7523
Comments
|
I am getting the error "no video formats found" |
|
Looks like pluralsight changed all their links to APP.pluralsight.com. Looking at the code I believe it parses for WWW.pluralsight.com or falls back to the generic extractor which of course fails. Since they seem to ban accounts if you hit them like this too much, this should probably be fixed sooner rather than later before we all get ourselves banned. :) Can the one line of regex in their extractor to allow for APP.pluralsight.com? |
|
I created a pull request myself and proposed a fix to the code. When I test against my test URLs, my new regex works properly. |
|
Pluralsight should work again in the next version of youtube-dl. |
|
Thanks for all your work and efforts - I really appreciate the time you've spent to try and get this working. :) Should this have been fixed in 2015.11.24? It doesn't seem to have been for me. tdobson@tragicomix:~/Videos$ youtube-dl --version tdobson@tragicomix: tdobson@tragicomix:~/Videos$ youtube-dl --verbose --username=username --password=pw http://app.pluralsight.com/courses/angularjs-get-started tdobson@tragicomix:~/Videos$ youtube-dl --verbose --username=username --password=pw https://app.pluralsight.com/library/courses/angularjs-get-started/table-of-contents tdobson@tragicomix: |
|
I am using version 2015.11.21 on Windows and its working. |
So if I do:
tim@picknmix:~/Videos$ youtube-dl --verbose --username=email@example.com --password=nevergonnagiveyouup http://www.pluralsight.com/courses/angularjs-get-started
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--username=email@example.com', u'--password=nevergonnagiveyouup', u'http://www.pluralsight.com/courses/angularjs-get-started']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.15
[debug] Python version 2.7.3 - Linux-3.2.0-4-686-pae-i686-with-debian-7.9
[debug] exe versions: avconv 0.8.17-6, avprobe 0.8.17-6, ffmpeg 0.8.17-6, ffprobe 0.8.17-6
[debug] Proxy map: {}
[pluralsight:course] angularjs-get-started: Downloading course JSON
[pluralsight:course] angularjs-get-started: Downloading course data JSON
[download] Downloading playlist: AngularJS: Get Started
[pluralsight:course] playlist AngularJS: Get Started: Collected 44 video ids (downloading 44 of them)
[download] Downloading video 1 of 44
[pluralsight] Downloading login page
[pluralsight] Logging in as email@example.com
[pluralsight] angularjs-get-started-m1-introduction-0: Downloading webpage
ERROR: Unable to extract modules; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 661, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 290, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/pluralsight.py", line 90, in _real_extract
webpage, 'modules'),
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 584, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract modules; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
If I reference the video more directly, the URL isn't detected:
tim@picknmix:~/Videos$ youtube-dl --verbose --username=email@example.com --password=nevergonnagiveyouup "https://app.pluralsight.com/training/player?course=angularjs-get-started&author=scott-allen&name=angularjs-get-started-m1-introduction&clip=0&mode=live"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--username=email@example.com', u'--password=nevergonnagiveyouup', u'https://app.pluralsight.com/training/player?course=angularjs-get-started&author=scott-allen&name=angularjs-get-started-m1-introduction&clip=0&mode=live']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.15
[debug] Python version 2.7.3 - Linux-3.2.0-4-686-pae-i686-with-debian-7.9
[debug] exe versions: avconv 0.8.17-6, avprobe 0.8.17-6, ffmpeg 0.8.17-6, ffprobe 0.8.17-6
[debug] Proxy map: {}
[generic] player?course=angularjs-get-started&author=scott-allen&name=angularjs-get-started-m1-introduction&clip=0&mode=live: Requesting header
WARNING: Falling back on generic information extractor.
[generic] player?course=angularjs-get-started&author=scott-allen&name=angularjs-get-started-m1-introduction&clip=0&mode=live: Downloading webpage
[generic] player?course=angularjs-get-started&author=scott-allen&name=angularjs-get-started-m1-introduction&clip=0&mode=live: Extracting information
[debug] Invoking downloader on u'https://app.pluralsight.com/training/player?course=angularjs-get-started&author=scott-allen&name=angularjs-get-started-m1-introduction&clip=0&mode=live'
[download] Destination: Pluralsight Player-playercourse=angularjs-get-started&author=scott-allen&name=angularjs-get-started-m1-introduction&clip=0&mode=live.unknown_video
[download] 351.9% of 21.04KiB at 6.21MiB/s ETA 00:00ERROR: content too short (expected 21546 bytes and served 75824)
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1598, in process_info
success = dl(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1540, in dl
return fd.download(name, info)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 342, in download
return self.real_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 238, in real_download
raise ContentTooShortError(byte_counter, int(data_len))