Open
Conversation
Only include the relevant JSON object scraped from the html raw text
Adjust spring 2023 AoT offset based on Hulu website
Time adjustment needed based on what is observed on available series Rename the exception for badly formatted raw html Add in the docstring a description of the webpage from URL to location of the relevant data
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
hulu.py, working as similarly as possible to other existing services (CR/HIDIVE), I figured this could be needed as we have an exclusive series this season and it may happen again in the future.(Technically it's also on D+, but I have no idea how to get data from that one)
Include some explanation of how the relevant data is scraped from the show's page, as well as two examples from Heavenly Delusions and Attack on Titan.
Two things observed based on the two series:
series name -> timedeltaput in place for such instances, defaulted to 0.remote_offsetprobably takes care of it well enough, combined with the release date filtering out previous seasons.NOTES:
setupcommand needs to be run in order to add Hulu to theServicestable.hulu|Hulushould be replaced withhulu, otherwise the link will be added to theLiteStreamstable, and two links to the same stream will be created in the post body.editcommand is run to add currently airing series, a new entry in theStreamstable will be created, and existing entries in theLiteStreamstable should be removed manually.