Repository: youtube-dl
Issue: Can not search more than 20 result with youtube-dl in Google colab (next page problem!)
Labels: question

## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- Look through the README (http://yt-dl.org/readme) and FAQ (http://yt-dl.org/faq) for similar questions
- Search the bugtracker for similar questions: http://yt-dl.org/search-issues
- Finally, put x into all relevant boxes (like this [x])
-->

- [x] I'm asking a question
- [x] I've looked through the README and FAQ for similar questions
- [x] I've searched the bugtracker for similar questions including closed ones (Nothing here:https://github.com/ytdl-org/youtube-dl/issues?q=is%3Aissue+is%3Aopen+%09label%3Abug++search+entire++ !)


## Question


I have tried to download the audio with Farsi subtitle for building the speech to text database for [this project][1] , so i am using the YouTube-dl.

The colab youtube-dl -v ... is:

```
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://www.youtube.com/watch?v=WKsjaOqDXgg']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.09.14
[debug] Python version 3.6.9 (CPython) - Linux-4.19.112+-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Proxy map: {}
[youtube] WKsjaOqDXgg: Downloading webpage
```

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][2]):

`!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.txt 
`

so i have seen this page :

[Not downloading the entire playlist][3]

and tried to change it by adding `--sleep-interval 1 ` and `, --playlist-start X --playlist-end X` like 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:

```
!youtube-dl  -ciw --playlist-start 1 --playlist-end 1000 --sleep-interval '1' --skip-download --get-url --write-auto-sub  --list-subs  --sub-lang 'fa-IR' --sub-format=srv  --default-search "ytsearch2000:" "art"   >> Youtube_dl_links.txt 

```
[![enter image description here][4]][4]
So maybe the Youtube-dl is not proper for this usage, I have tried the java youtube-dl version in [colab][5] ( 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 `art` search 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.


  [1]: https://github.com/So-AI-love/Persian-text-to-speech/
  [2]: https://github.com/So-AI-love/Persian-text-to-speech/blob/master/Built%20dataset%20and%20trainning.ipynb
  [3]: https://www.reddit.com/r/youtubedl/comments/fe084z/not_downloading_the_entire_playlist/
  [4]: https://i.stack.imgur.com/uUJtt.png
  [5]: https://github.com/fent/node-ytdl-core