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.
Accessing the downloaded file. #14041
Comments
|
the downloaded file should be where your embed youtube-dl project/code exists if not anyways overrided with I want to make sure you are talking about the downloaded audio/video from the embed youtube-dl,not youtube-dl code in anyways to add/import the youtube-dl project |
|
|
|
@dstftw
I wasn't able to find the |
|
@Joaobranquinho you need to change/modify your ydl_opts for this one example : If you need more information try visiting the code https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L1679 as mentioned by @dstftw |
|
@siddht4 Is this great, what more options do I have with For example, I want to change the output name, get the video quality I want to download "360, 480, 720", I also want to know how I download the subtitle of the video. Where can I place the ffmpeg folder |
|
ydl_opts is a dictionary object for youtube-dl. You can vist https://github.com/rg3/youtube-dl/blob/master/youtube_dl/YoutubeDL.py#L1679 to get all the available options. Output name aka file name can be renamed through _filename parameters. For subtitle use allsubtitle and set it to true |
|
For ffmpeg just make sure its set to global path. Explicitly mentioning is not required |
|
hello @siddht4 It is still somewhat understandable, could you say how I start or, what options do I have ?, for example: how do I get the video quality list -> 360p, 480p, 720p, 1080p.
|
|
@Moriand would force youtube-dl to download 480p file format. If its not present then the next one 360p is downloaded. otherwise it will give/return error. |
|
@Moriand If you really are not understanding or facing issue. Comment here. Still I am providing link to some of the exisitng embed code I have . Code #1 https://github.com/siddht4/youtube_dl_custom/blob/master_1/test/test_2.py To download just the meta info |
I've looked through the documentation and haven't been able to locate this "feature"
I use embed youtube-dl in python. Is there anyway for me to access the just downloaded file?