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.
Checklist
Question
I have tried to download the audio with Farsi subtitle for building the speech to text database for this project , so i am using the YouTube-dl.
The colab youtube-dl -v ... is:
But it don't search is limited to less that 30 result and stop suddenly form searching, my code is like this (the colab link could be seen here):
!youtube-dl --write-auto-sub --list-subs --sub-lang 'fa-IR' --sub-format=srv --extract-audio --audio-format mp3 -o '%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s' --restrict-filenames --audio-quality '128K' -i "ytsearch2000:art" >> Youtube_dl_links.txtso i have seen this page :
Not downloading the entire playlist
and tried to change it by adding
--sleep-interval 1and, --playlist-start X --playlist-end Xlike said there, but is spot again and don't continue, which i don't know why this happen?if there be some method to limit the youtube-dl into one loop with resume capability maybe the problem become solved.
the code and results:
So maybe the Youtube-dl is not proper for this usage, I have tried the java youtube-dl version in colab ( that can not use it because of being java and ... !)
So, I would appreciate, if you solve the youtube-dl search limit to search high amount of video via YouTube to find video with Persian default language and its subtitle, or example searching 1000 search result of
artsearch key word in YouTube site.Also asked here:
https://unix.stackexchange.com/questions/610143/can-not-search-more-than-20-result-with-youtube-dl-in-google-colab-next-page-pr
Thanks.