madiele / vod2pod-rss

Vod2Pod-RSS converts a YouTube or Twitch channel into a podcast with ease. It creates a podcast RSS that can be listened to directly inside any podcast client. VODs are transcoded to MP3 on the fly and no server storage is needed!
MIT License
207 stars 6 forks source link

Setting to increase feed length? #90

Closed blairun closed 9 months ago

blairun commented 1 year ago

app version: 1.0.2


issue description: RSS feeds seem limited to about 50 items, which excludes old videos. Could a setting be added to increase the feed length?

E.g. a feed for https://www.youtube.com/@LastWeekTonight only goes back Oct 2021, rather than including the full list of videos that go back several more years.

madiele commented 1 year ago

50 items is just the limit of elements you can fetch in a single call with the youtube API, currently the actual feed generation is made by amckee/PodTube which is not my project, looking at the source code it seems that there is already a page logic but it seems it was manually disabled 2 years ago, I'll open an issue there and we'll see

amckee commented 1 year ago

After testing, this does appear to end up being an issue with the Youtube API limitations, though I am hoping to find a workaround:

2023-08-11 18:29:52,354 [INFO] 302 GET /youtube/user/@LastWeekTonight (::1) 313.12ms
2023-08-11 18:29:52,600 [INFO] Channel: UC3XTzVzaHQEd30rQbuvCtTQ (LastWeekTonight)
2023-08-11 18:29:53,397 [INFO] Got 56 videos from 3 pages
madiele commented 1 year ago

Thanks a lot, if I can help in anyway just let me know ✌️

madiele commented 10 months ago

@blairun the next release will fix this issue, I've completely rewritten the way i fetch the feed, from the next release the feed is generated all inside vod2pod with no need for podtube anymore (in fact you will be able to remove the section from the docker-compose, more info on the release notes when I've tested it for some weeks on the beta image).

I've made it so that the feed will fetch up to 300 videos!

in the next few days i will publish a beta image with the update, once is ready if you want a preview use :beta instead of :latest in your docker compose

madiele commented 9 months ago

closing with release v1.1.0 #130

blairun commented 9 months ago

Just updated and everything's working well. Thanks!