tube_dl
tube_dl copied to clipboard
DO NOT fetch full list of video in the playlist (max 200 videos)
It seems that after the first time using Token extracted from HTML, the author continues to use that token while the token already changed. To fix this problem, update to use new token to get full of playlist.
In python file containing class Playlist
In function:
def fetch_continuation(self, html):
#same code
return data
In function:
def __init__(self, url: str, start: int = None, end: int = None):
# same code
if total_count > 100:
start_html = html
for i in range(0, total_count//100):
start_html = self.fetch_continuation(start_html)
# same code
Hope this help.
Hi @hahv If you think this will solve the problem, please create a merge request. I'll review and merge the code. Thanks