Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help me to use external downloader #10595

Closed
jaan143 opened this issue Sep 8, 2016 · 27 comments
Closed

Help me to use external downloader #10595

jaan143 opened this issue Sep 8, 2016 · 27 comments

Comments

@jaan143
Copy link

@jaan143 jaan143 commented Sep 8, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.09.04.1. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • [ x] I've verified and I assure that I'm running youtube-dl 2016.09.04.1

Before submitting an issue make sure you have:

  • [x ] At least skimmed through README and most notably FAQ and BUGS sections
  • [x ] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • [x ] Question
  • Other

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 -v flag 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 ```):

$ youtube-dl -v <your command line>
PS C:\Users\vicky\downloads> youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.09.04.1
[debug] Python version 3.4.3 - Windows-8-6.2.9200
[debug] exe versions: none
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]
youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.
PS C:\Users\vicky\downloads>

Description of your issue, suggested solution and other information

i need help to use external downloader
i generate downloading url from video streaming site and its save in link.txt using your command
like this
youtube-dl --verbose http://app.pluralsight.com/courses/nodejs-security-express-angular-get-started --get-url --username 12345@hotmail.com --password 12345 > links.txt

after that its save links in txt file but now i want to download these videos through external download so can you plz explain me what is exact command to use it and it will read this txt file and download all videos

this txt file saving in this directory
C:\Users\vicky\Downloads

thanks

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 8, 2016

Check the manual of your favorite downloader and feed links.txt to it.

@yan12125 yan12125 closed this Sep 8, 2016
@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 8, 2016

can you plz recommend other than IDM ?
because IDM is not download with original title name

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 8, 2016

If you need to keep titles in filenames, use --external-downloader instead. For example:

youtube-dl --external-downloader <the downloader name> <video URL>

Currently only aria2c,avconv,axel,curl,ffmpeg,httpie and wget are supported. Please follow #9861 if you need IDM.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 8, 2016

Yeah, but idm is not supported yet. You may want to change idm to one of aria2c, avconv, axel, curl, ffmpeg, httpie or wget.

@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 8, 2016

but Sir for this way i need to download all videos one by one ? because i generated links in txt file then need put one by one with this command ?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 8, 2016

It should work for playlists, too. By the way, you may want to try axel or aria2c, both of which use multiple connections for downloading.

@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 8, 2016

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 8, 2016

Those URLs are fetched from Pluralsight not generated by youtube-dl. If you change it, videos won't be downloaded. If you want IDM to save URLs with a different name, check IDM manuals.

@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 8, 2016

i download aria2c and youtube-dl downloading with that
but its cant read all url txt file and download all videos automatically ?
is it possible or not if yes then plz help me about this command

thanks

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 9, 2016

What's your command and the result?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 9, 2016

Well, my previous statements are misleading. Use this instead:

youtube-dl --external-downloader aria2c http://app.pluralsight.com/courses/nodejs-security-express-angular-get-started
@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 9, 2016

it will not ask user and password ?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 9, 2016

If this video requires password, it will. The full command is like:

youtube-dl --verbose --external-downloader aria2c http://app.pluralsight.com/courses/nodejs-security-express-angular-get-started --username 12345@hotmail.com --password 12345
@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 9, 2016

actually bro if i use username then pluralsight banned account to download too fast so thats why i am generating links then i change ip and downloading all videos with that links through idm so when i generate links.txt is it possible with this way to read link.txt file and download all videos ?
because after generate links we can downnload as anonymous

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 9, 2016

Currently your link.txt contains plain URLs only, so there are no titles in filenames. Check IDM manual if it provides another format that reads in titles and URLs at the same time.

@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 9, 2016

ohh ok :(

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 9, 2016

Here are some discussions about how to prevent pulralsight accounts from banning: #6090 #6842. Of course there's no guarantee.

@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 9, 2016

bro with area2c can read txt file and download all videos ? no matter with original name or not

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Sep 9, 2016

it's possible with some scripting to do what you want using aria2c(save files with proper name), the links file should be like this:

url1
 out=file1.mp4
url2
 out=file2.mp4
@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 9, 2016

#remitamine can you plz explain me little bit ?

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Sep 9, 2016

for example you have to change the links file to something like:

http://vid.pluralsight.com/expiretime=1473338970/af682fd0e7e066508914173cd326e767/clip-videos/matthew-renze/r-mastering-data-visualization-m0/r-mastering-data-visualization-m0-01/1280x720mp4/20160907153219.mp4
 out=Course Overview.mp4
http://vid.pluralsight.com/expiretime=1473338976/b86730a2bfd8e0b264c3490d5d9907fd/clip-videos/matthew-renze/r-mastering-data-visualization-m1/r-mastering-data-visualization-m1-01/1280x720mp4/20160907153258.mp4
 out=Course Introduction.mp4
...
@jaan143
Copy link
Author

@jaan143 jaan143 commented Sep 9, 2016

no its not downloading with that i tried yesterday because with numbers its original url and when we change numbers to title then url going to dead

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Sep 9, 2016

i didn't said that you have to change the url, i said:

original_url
 out=filename.mp4

replace original_url with the original url and filename.mp4 with filename related to the url.
put it in a file and download it using:aria2c -i links.txt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.