Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting to increase feed length? #90

Closed
1 of 2 tasks
blairun opened this issue Jul 30, 2023 · 6 comments
Closed
1 of 2 tasks

Setting to increase feed length? #90

blairun opened this issue Jul 30, 2023 · 6 comments

Comments

@blairun
Copy link

blairun commented Jul 30, 2023

app version: 1.0.2

  • twitch api key set
  • youtube api key set

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
Copy link
Owner

madiele commented Jul 31, 2023

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
Copy link

amckee commented Aug 11, 2023

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
Copy link
Owner

madiele commented Aug 12, 2023

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

@madiele
Copy link
Owner

madiele commented Nov 5, 2023

@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
Copy link
Owner

madiele commented Nov 20, 2023

closing with release v1.1.0 #130

@madiele madiele closed this as completed Nov 20, 2023
@blairun
Copy link
Author

blairun commented Nov 20, 2023

Just updated and everything's working well. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants