Open wyattscarpenter opened 2 years ago
@wyattscarpenter This is pretty easy to fix for your needs.
https://github.com/lzeke0/TwitchRSS/blob/master/TwitchRSS/twitchrss.py#L31
Have a look at line 31 of twitchrss.py -> change from type=all
to type=archive
Btw, if you also need a working /vod/
handle, you need to cherry-pick this commit: https://github.com/sn-o-w/TwitchRSS/commit/ab95fae23e065f232c23c07f32bf60ab846cc020
Twitch made some changes on their side and the above commit is needed now for TwitchRSS to properly detect when a channel goes live.
Salutations,
Today, I visited https://twitchrss.appspot.com/vodonly/j_blow to get a listing of recent videos from this twitch streamer. However, there are presently fewer than 20 videos in his current vod archives https://www.twitch.tv/j_blow/video/1267791496?filter=archives&sort=time, so it seems the rss feed filled up the rest of the list with the most recent highlights from the channel https://www.twitch.tv/j_blow/videos?filter=highlights&sort=time.
The behavior is undesirable to my ends, and probably to others' as well.
This is the current ending of the rss file, which will hopefully illustrate the problem if any doubt remains:
Note how after the 18th and final
<category>archive</category>
item from the vod archive, the final two items are<category>highlight</category>
.Luckily, this is perhaps a very simple fix. https://dev.twitch.tv/docs/api/videos claims
It seems to me most in the spirit of the design of this project if both the /vod/ and /vodonly/ handles set
type
toarchive
in their twitch api calls, since they both claim to be about vods specifically, not highlights nor uploads. But if not both, then I definitely think at least /vodonly/ should be set to archive, to produce only vods!Regards, and thanks for your time.