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.
Python 3.6 How to specify the external downloader location, please help. #15337
Comments
|
|
|
@dstftw does it also work to write this : 'external_downloader': aria2c_path, #direct path to aria2c.exe ? |
|
@dstftw i just retried in a new environment and it game me the "AssertionError" |
|
Path will not work. If you want any help open a new issue providing complete reproducible example source code with complete verbose log of the error. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.01.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.(running as python module)
Before submitting an issue make sure you have:
What is the purpose of your issue?
im using python 3.6 with the youtube_dl module on windows 10
Im trying to download Youtube videos with aria2c (because its very slow otherwise)(any other external downloader that can do this is fine for me) as mp3 only, audio only , best quality possible
These are my option settings:
"""
options = {
"""
this works but is very slow due to youtube throtteling after 30 % download, taking 60 sec for 3MB...
The path to aria2c is also added in the system Path variables.
but i cant figure out how to use the aria2c.exe in this programm
i tried adding this:
'external_downloader': 'aria2c',
'external_downloader_args': 'j 8 -s 8 -x 8 -k 5M', #not sure about these parameters
or this:
'external_downloader': aria2c_path, #direct path to aria2c.exe
'external_downloader_args': 'j 8 -s 8 -x 8 -k 5M', #not sure about these parameters
it also tried printing the error but it just fails without an error.
also im not realy sure what args to specify.
python console output.
"""
[youtube] jxipIRg-f2Y: Downloading webpage
[youtube] jxipIRg-f2Y: Downloading video info webpage
[youtube] jxipIRg-f2Y: Extracting video information
[download] Destination: C:\Users\Me\my\path\Test.webm
"""
and then nothing just breaks
needless to say after searching trough hundreds of google results, and the documentation and the source code im pretty frustrated.