James Taylor
5554d5afff
Add playlist sidebar for videos in playlist, including autoplay
2020-04-04 22:52:09 -07:00
James Taylor
f253247949
Fix MaxRetryError when checking for video URL access
...
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
2020-02-18 11:47:23 -08:00
James Taylor
14b9c30daf
Invidious fallback: Use original format info and just substitute invidious urls
...
Because the invidious formats don't have all the information
2020-02-04 19:08:56 -08:00
James Taylor
9f090dbbf8
Watch page: add info box with allowed countries and tor exit node
...
Should help with debugging various content blocks
2020-02-01 16:16:49 -08:00
James Taylor
7c2736aa26
Check for 403 errors and fallback on Invidious
...
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.
2020-02-01 15:09:37 -08:00
James Taylor
f787e4e202
Give a proper error message for 429 errors
...
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.
2020-01-31 20:06:15 -08:00
James Taylor
4b6efb0e0b
Watch: display comment count and whether comments are disabled
2019-12-20 20:52:01 -08:00
James Taylor
d2ba9be7a7
Better error handling for incorrect watch page urls
...
- Correctly handle /embed, /watch with no video ids
- Correctly report error for this and for too short video ids
2019-12-20 20:35:05 -08:00
James Taylor
80de90b1bb
Add support for /embed urls
2019-12-20 19:23:15 -08:00
James Taylor
6b7a1212e3
Extraction: Move non-stateful signature decryption functionality into yt_data_extract
2019-12-19 21:28:21 -08:00
James Taylor
d1d908d5b1
Extraction: Move html post processing stuff from yt_data_extract to util
2019-12-19 19:48:53 -08:00
James Taylor
f6bf5213a5
Extraction: rename multi_get functions to more descriptive names
2019-12-18 19:43:55 -08:00
James Taylor
98777ee825
Extraction: Rewrite item_extraction for better error handling and readability, rename extracted names for more consistency
2019-12-18 19:39:16 -08:00
James Taylor
45a4ab5ace
Extraction: Detect limited state and fix false detection as unlisted
2019-12-17 20:58:15 -08:00
James Taylor
81c7ecf161
Extraction: Make limited state videos work
2019-12-17 20:39:20 -08:00
James Taylor
a04aa63efe
Extraction: Fix subtitles error when video has no automatic captions but has foreign language captions
2019-12-14 14:42:39 -08:00
James Taylor
26f37521ba
Extraction: Bypass age-restriction
2019-12-12 22:13:17 -08:00
James Taylor
205ad29cb0
Extraction: Add general subtitle extraction and translation
2019-11-29 18:36:27 -08:00
James Taylor
79d9a18f81
Extraction: return and display any errors preventing video playback
2019-11-22 14:56:53 -08:00
James Taylor
70b56d6eef
Extraction: Add signature decryption
2019-10-18 14:02:28 -07:00
James Taylor
4c07546e7a
Extraction: Replace youtube-dl with custom-built watch page extraction
2019-10-17 19:58:13 -07:00
James Taylor
7a93acabb3
Always use 360p in non-theater mode
2019-09-06 15:00:18 -07:00
James Taylor
3d911e4987
Layout: Theater layout: Expand video width across page only as necessary based on length of video
2019-08-24 17:55:14 -07:00
James Taylor
cb5f36581d
Layout: add option to hide comments/related vids by default but click to show using <details>
2019-08-24 16:45:01 -07:00
James Taylor
d9fbf82bb2
Layout: Add option to use 720p resolution
2019-08-24 13:35:11 -07:00
James Taylor
fa2fa7fe16
Layout: Add theater mode
2019-08-24 12:43:58 -07:00
James Taylor
85572c94de
Layout: refactor item system to be more maintainable, add vertical item type
2019-08-23 14:48:00 -07:00
James Taylor
ba0809b965
rename enable_comments amd enable_related_videos
2019-08-01 00:28:51 -07:00
James Taylor
2837d9db2b
Convert captioning to flask
2019-07-21 22:16:38 -07:00
James Taylor
8eff0bb9e2
Delete obsolete files
2019-07-21 21:59:52 -07:00
James Taylor
8cad77ad0d
Convert comments to flask framework
2019-07-19 22:27:10 -07:00
James Taylor
b854dab314
watch.py regression: fix error page
2019-07-07 17:46:07 -07:00
James Taylor
b89d90a0d3
watch_page: refactor music list into flask template
2019-07-07 17:29:25 -07:00
James Taylor
05de304548
Fix get_subtitle_sources function
2019-06-21 21:59:50 -07:00
James Taylor
02962df052
Refactor watch page related videos to use item rendering macro
2019-06-21 21:59:33 -07:00
James Taylor
e33bae2e50
watch: Fix error page
2019-06-17 20:57:10 -07:00
James Taylor
1ba2411862
Inherit from base template
2019-06-17 20:50:00 -07:00
James Taylor
2db58930a6
Convert watch page to flask framework
2019-06-16 16:16:03 -07:00
James Taylor
8ceaa34a53
html_common: remove x_item_html functions
2019-02-26 17:27:53 -08:00
James Taylor
b32330be4f
refactor common.py into 3 files
2019-02-21 21:32:31 -08:00
James Taylor
1ba38a5c9c
Content-type: text/plain for errors or status messages
2019-01-06 19:31:01 -08:00
James Taylor
36e0409db4
Add newline to end of files
2019-01-06 18:20:29 -08:00
James Taylor
bb2d40ac83
rename env['fields'] to env['parameters'] and rename fields to parameters in general
2019-01-06 01:33:52 -08:00
James Taylor
a57fc77426
WSGI for simple non-path GET pages
2019-01-05 00:20:39 -08:00
James Taylor
6a23df8c90
Don't use tor when logging in
2018-12-26 17:24:53 -08:00
James Taylor
75b0c52f57
Ability to sort channel videos by oldest and by views
2018-12-17 02:24:55 -08:00
James Taylor
4825337f3b
Put default language subtitles at end of list to work around browser bug when too many languages present
2018-12-16 18:55:05 -08:00
James Taylor
717bf21093
Can now store settings&data in ~/.youtube-local, keeping program files separate
2018-11-10 00:27:43 -08:00
James Taylor
03f5ccbacb
add support for lc parameter
2018-10-01 17:58:35 -07:00
James Taylor
ffeccc5ac3
Reorganize comment system
2018-09-01 21:53:40 -07:00