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.
[packtpub] Add support for authentication #12622
Comments
|
Authentication is not supported. You must provide account credentials. |
|
where can i send you account detail ? |
|
@dstftw please check you email i sent you details |
|
@dstftw will you please add login details ? |
|
@remitamine can you please add login details in python file ? thanks |
you can find my email in @remitamine. |
|
@remitamine would it be possible to also add cookies.txt support? Thx! |
|
@remitamine please check your email i send you login details |
|
@remitamine bro sins yesterday its not working again getting login error but account is working in browser [debug] Command-line args: ['--verbose', '-o', ' PS C:\Users\vicky\downloads> |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.04.02. 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
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
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):hi i am getting this error about video is locked but i can watch online in browser every lecture
PS C:\Users\HDNLUF037\downloads> youtube-dl --verbose -o '
/downloads/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)/downloads/%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s', u'hs' https://www.packtpub.com/mapt/video/application-development/9781786462978 --sleep-interval 90 --username 123@g
mail.com --password 123
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-o', u'
ttps://www.packtpub.com/mapt/video/application-development/9781786462978', u'--sleep-interval', u'90', u'--username', u'
PRIVATE', u'--password', u'PRIVATE']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.04.02
[debug] Python version 2.7.12 - Windows-8.1-6.3.9600
[debug] exe versions: none
[debug] Proxy map: {}
[PacktPubCourse] 9781786462978: Downloading JSON metadata
[download] Downloading playlist: Getting Started With Julia [Video]
[PacktPubCourse] playlist Getting Started With Julia [Video]: Collected 46 video ids (downloading 46 of them)
[download] Downloading video 1 of 46
[PacktPub] 19840: Downloading JSON video
[PacktPub] 19840: Downloading JSON metadata
[debug] Invoking downloader on u'https://d1ft11egbn8l.cloudfront.net/Mastering Julia programming/Package/videos/video1_1
.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6XC9cL2QxZnQxMWVnYm44bC5jbG91ZGZyb250Lm5ldFwvTWFzdGVyaW5nJTIwSnVs
aWElMjBwcm9ncmFtbWluZ1wvUGFja2FnZVwvdmlkZW9zXC92aWRlbzFfMS5tcDQiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRp
bWUiOjE0OTExNTUwOTJ9fX1dfQ__&Signature=IUu-vCiG9BNxj8c-0Ew4VlFqGKtvc4FHMc
NmU2ytOg9OvUUNB1whSeOmq--3i2EvwKmSpN2WpROEjKhu4GxR
j908Kb8zLcSAO2CMXPpcmaoV9SWJ-VoaHOHyjF2didBSNIHG7gTO9L9BoYtjCN4bu6iJ1dJYlE8K5nSqmAY_&Key-Pair-Id=APKAJTJLPJQL5PVZ47FA'
[download] Sleeping 90 seconds...
[download] Destination: C:\Users\HDNLUF037\downloads\Getting Started With Julia [Video]\01 - The Course Overview.mp4
[download] 100% of 39.82MiB in 00:04
[download] Downloading video 2 of 46
[PacktPub] 19841: Downloading JSON video
ERROR: This video is locked
Traceback (most recent call last):
File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 761, in extract_info
ie_result = ie.extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\common.py", line 428, in extract
ie_result = self._real_extract(url)
File "c:\python27\lib\site-packages\youtube_dl\extractor\packtpub.py", line 61, in _real_extract
raise ExtractorError('This video is locked', expected=True)
ExtractorError: This video is locked
PS C:\Users\HDNLUF037\downloads>