aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/watch.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix MaxRetryError when checking for video URL accessJames Taylor2020-02-181-2/+12
| | | | | | | | The default urllib3 max redirect amount was set to 3. Change it to 10 and do not fail if there is a problem with checking for URL access. Just print the error to the console and proceed. Also add an unrelated remark about the bcptr=9999999999 parameter in watch.py
* Invidious fallback: Use original format info and just substitute invidious urlsJames Taylor2020-02-041-23/+13
| | | | Because the invidious formats don't have all the information
* Watch page: add info box with allowed countries and tor exit nodeJames Taylor2020-02-011-0/+6
| | | | Should help with debugging various content blocks
* Check for 403 errors and fallback on InvidiousJames Taylor2020-02-011-0/+53
| | | | 403 errors on the video urls happen typically when a video has copyrighted content or was livestreamed originally. They appear to not happen (or at least happen less frequently) if the Tor exit node used ipv6, however.
* Give a proper error message for 429 errorsJames Taylor2020-01-311-0/+1
| | | | | | These occur when too many requests are coming from a Tor exit node. Before, there would be an error page with an exception instructing users to report the issue. But this is an expected and persistent issue.
* Watch: display comment count and whether comments are disabledJames Taylor2019-12-201-0/+2
|
* Better error handling for incorrect watch page urlsJames Taylor2019-12-201-2/+4
| | | | | - Correctly handle /embed, /watch with no video ids - Correctly report error for this and for too short video ids
* Add support for /embed urlsJames Taylor2019-12-201-2/+3
|
* Extraction: Move non-stateful signature decryption functionality into ↵James Taylor2019-12-191-85/+12
| | | | yt_data_extract
* Extraction: Move html post processing stuff from yt_data_extract to utilJames Taylor2019-12-191-2/+2
|
* Extraction: rename multi_get functions to more descriptive namesJames Taylor2019-12-181-4/+4
|
* Extraction: Rewrite item_extraction for better error handling and ↵James Taylor2019-12-181-4/+4
| | | | readability, rename extracted names for more consistency
* Extraction: Detect limited state and fix false detection as unlistedJames Taylor2019-12-171-0/+1
|
* Extraction: Make limited state videos workJames Taylor2019-12-171-1/+1
|
* Extraction: Fix subtitles error when video has no automatic captions but has ↵James Taylor2019-12-141-1/+5
| | | | foreign language captions
* Extraction: Bypass age-restrictionJames Taylor2019-12-121-5/+21
|
* Extraction: Add general subtitle extraction and translationJames Taylor2019-11-291-39/+93
|
* Extraction: return and display any errors preventing video playbackJames Taylor2019-11-221-1/+2
|
* Extraction: Add signature decryptionJames Taylor2019-10-181-16/+133
|
* Extraction: Replace youtube-dl with custom-built watch page extractionJames Taylor2019-10-171-75/+79
|
* Always use 360p in non-theater modeJames Taylor2019-09-061-1/+6
|
* Layout: Theater layout: Expand video width across page only as necessary ↵James Taylor2019-08-241-0/+4
| | | | based on length of video
* Layout: add option to hide comments/related vids by default but click to ↵James Taylor2019-08-241-0/+3
| | | | show using <details>
* Layout: Add option to use 720p resolutionJames Taylor2019-08-241-2/+12
|
* Layout: Add theater modeJames Taylor2019-08-241-0/+2
|
* Layout: refactor item system to be more maintainable, add vertical item typeJames Taylor2019-08-231-2/+0
|
* rename enable_comments amd enable_related_videosJames Taylor2019-08-011-1/+1
|
* Convert captioning to flaskJames Taylor2019-07-211-0/+11
|
* Delete obsolete filesJames Taylor2019-07-211-1/+1
|
* Convert comments to flask frameworkJames Taylor2019-07-191-4/+2
|
* watch.py regression: fix error pageJames Taylor2019-07-071-1/+1
|
* watch_page: refactor music list into flask templateJames Taylor2019-07-071-39/+14
|
* Fix get_subtitle_sources functionJames Taylor2019-06-211-1/+1
|
* Refactor watch page related videos to use item rendering macroJames Taylor2019-06-211-11/+16
|
* watch: Fix error pageJames Taylor2019-06-171-2/+2
|
* Inherit from base templateJames Taylor2019-06-171-3/+2
|
* Convert watch page to flask frameworkJames Taylor2019-06-161-291/+167
|
* html_common: remove x_item_html functionsJames Taylor2019-02-261-2/+6
|
* refactor common.py into 3 filesJames Taylor2019-02-211-13/+13
|
* Content-type: text/plain for errors or status messagesJames Taylor2019-01-061-1/+1
|
* Add newline to end of filesJames Taylor2019-01-061-1/+1
|
* rename env['fields'] to env['parameters'] and rename fields to parameters in ↵James Taylor2019-01-061-2/+2
| | | | general
* WSGI for simple non-path GET pagesJames Taylor2019-01-051-8/+13
|
* Don't use tor when logging inJames Taylor2018-12-261-1/+5
|
* Ability to sort channel videos by oldest and by viewsJames Taylor2018-12-171-3/+0
|
* Put default language subtitles at end of list to work around browser bug ↵James Taylor2018-12-161-3/+8
| | | | when too many languages present
* Can now store settings&data in ~/.youtube-local, keeping program files separateJames Taylor2018-11-101-1/+2
|
* add support for lc parameterJames Taylor2018-10-011-2/+4
|
* Reorganize comment systemJames Taylor2018-09-011-9/+4
|
* remove unused codeJames Taylor2018-08-311-78/+0
|