-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
[FEAT] tv_grab_url should follow redirects #258
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
I've asked in the xmltv repo the same question, they said this should be the right place (XMLTV/xmltv#237) |
Thanks for the PR. The people who used to maintain this image are no longer using it (or are no longer part of the team) and I'm not too familiar with some of the ancillary functionality that was added here. But this PR seems sensible. |
Is this a new feature request?
Wanted change
I'm coming from XMLTV/xmltv#237, they suggested I should ask here.
TVHeadend gives the opportunity to grab XMLTV data with what they call "XMLTV: XMLTV URL grabber". Internally this just calls
tv_grab_url
, a script which uses curl to download XMLTV data from the URL which you provide to the "XMLTV: XMLTV URL grabber". I want to use https://xmltv.info/de/epg.xml as a provider. The problem is now, that this XMLTV provider generates a unique link for every request, so if you request https://xmltv.info/de/epg.xml you get a redirect to https://xmltv.info/de/epg.xml/e4aed9d33f528a05dd3fa1ed2f8b3ef3 and here you get the XMLTV data. After accessing this link is invalid. So for tv_grab_url to function with this provider it needs to follow redirects.Reason for change
see above
Proposed code change
If you look in the script
tv_grab_url
code you find the linebut to follow redirects it should be
The text was updated successfully, but these errors were encountered: