Dan Niles
Dan Niles
Unfortunately Google's API hasn't still changed to support retrieving banners again. As an alternative we could use something like `BeautifulSoup` to scrape the banner link off a channel and use...
> Original goal I expressed in the issue was to avoid being blocked by yt-dlp ban when subtitles did not changed. The reason I used yt-dlp to get the list...
@Jaifroid Yes, all good! 👍
Tried running the same recipe locally and it ran pretty fast (See logs below). Looks like the Youtube API might be throttling the requests from Zimfarm in this case. ```...
The following line was moved into a try-except block during the refactoring in #262. https://github.com/openzim/youtube/blob/60b85b5950a8f68990886043873698882626e5d1/scraper/src/youtube2zim/scraper.py#L413 When this `OSError` is raised the following gets executed, causing the scraper to exit as...
Currently we're using `yt-dlp` to download subtitles and etags are not provided for subtitles. The response is in the following format: ```json "requested_subtitles": { "en": { "ext": "vtt", "url": "https://www.youtube.com/api/timedtext?v=DYvYGQHYScc&ei=rzKqZouKCqfWz7sPiu_E2Qw&caps=asr&opi=112496729&xoaf=5&hl=en&ip=0.0.0.0&ipbits=0&expire=1722455327&sparams=ip%2Cipbits%2Cexpire%2Cv%2Cei%2Ccaps%2Copi%2Cxoaf&signature=D55586A99B8028F2565AFE1F76F3F55D8BE2ECA6.E032AF517474302C806EE8A02C6CDC914CD903B9&key=yt8&lang=en&fmt=vtt",...
@benoit74 and I discussed the possibility of hashing the `url` of each subtitle provided by `yt-dlp` and using it as an etag. However, it seems that this URL changes every...
I like the first approach. This was what I originally wanted to do with the "Home" tab in my proposed [Figma design](https://www.figma.com/design/f922aAI4PJry9ioHWm4Zd4/Kiwix-Youtube-UI-Revamp?node-id=0-1&t=drxPrJNx7m7JY1Tg-1). We can use this layout when there are...
@benoit74 Sure, I'd like to work on this.