Commit Graph

10 Commits

Author SHA1 Message Date
Tim Mann
cec9f4bf3c Add support for live streams on event pages. 2021-02-20 17:47:48 -08:00
Tim Mann
10273fbd22 Add fallbacks for id and title, just in case. 2021-02-13 17:49:58 -08:00
Tim Mann
d900bd96b4 flake8 cleanup 2021-02-13 17:36:31 -08:00
Tim Mann
fb35bd50b0 Finished rewrite to parse JSON as JSON. This looks much better. 2021-02-13 17:34:34 -08:00
Tim Mann
fd61f317bf Step 1 of a rewrite to find and parse embedded JSON instead of just
running a regexp over the whole page.  This version passes the tests,
but more work is needed.
2021-02-13 16:26:33 -08:00
Tim Mann
ad49e65d1e Cleanup after running flake8 again. 2021-02-13 12:44:54 -08:00
Tim Mann
1ac23b7d8c Cleanup for pull request. Both tests still pass, successfully
fetching the video and description.
2021-02-13 12:27:22 -08:00
Tim Mann
92a3cd37a6 Look harder for the description. Both tests pass now. 2021-01-30 22:50:18 -08:00
Tim Mann
f5e049fbc2 Add a test for a page that doesn't contain manifest_url itself, but
does contain an embed/vod-XXXXXXXX url for a page that does contain
manifest_url.  This test currently fails because the description on
the inner page isn't in the OpenGraph format.
2021-01-30 22:11:21 -08:00
Tim Mann
691d549938 youtube-dl support for https://pac-12.com.
Generally works on pages that have a free video, though in this commit
getting the description sometimes fails.  Does not work on the pages
that require a TV provider login.
2021-01-30 21:33:24 -08:00