James Taylor
cdb3440d1d
Merge pull request #21 from zrose584/search_focus
...
autofocus search input on homepage
2020-10-09 13:55:25 -07:00
James Taylor
a10a97a459
Merge pull request #26 from zrose584/num_videos_fix
...
fix get_number_of_videos_channel
2020-10-09 12:56:07 -07:00
zrose584
a0c33c621e
fix get_number_of_videos_channel
2020-10-09 19:43:22 +02:00
zrose584
6a7d0557e2
jinja: only include 'comments.js' if needed
2020-10-09 18:55:04 +02:00
zrose584
fd9bb643f8
replies: remove css border
2020-10-09 18:53:43 +02:00
zrose584
205665f138
doXhr: check xhr.status
2020-10-09 18:49:50 +02:00
zrose584
ed0b20e6c8
Don't remove the CSP completely
2020-10-09 18:35:13 +02:00
zrose584
4f46e14ad0
fix style
2020-10-09 18:25:17 +02:00
zrose584
debc11931f
add comments.js
2020-10-07 20:32:57 +02:00
zrose584
f8d9be2d5a
settings.py: add 'proxy_images'
2020-10-07 19:28:52 +02:00
zrose584
05cec14881
autofocus search input
2020-10-07 18:44:48 +02:00
zrose584
19da112a09
yt_app.config: use 'TEMPLATES_AUTO_RELOAD'
2020-10-07 15:27:56 +02:00
James Taylor
9123d9a6cf
Fix video height not scaling down when browser window is narrow
...
This solution still makes sure the video doesn't jump in height
when it loads, and makes it so the video scales down properly in
aspect ratio as the browser window is made narrower.
2020-10-01 13:38:57 -07:00
James Taylor
42e72395c0
Update README
2020-09-25 16:26:29 -07:00
James Taylor
aa199cdf57
Use tor video routing instead of invidious for 403s
...
Using invidious isn't always successful, whereas Tor video routing
appears to be near 100% successful.
2020-09-25 13:47:13 -07:00
James Taylor
cf08f96de9
Add some space between transcript button and related videos
2020-09-25 09:48:29 -07:00
James Taylor
20152a6316
Specify video height in html so page doesn't shift down after load
...
Use true video height extracted from youtube to handle videos
shorter than their quality size. (e.g. widescreen videos)
2020-09-24 18:50:54 -07:00
James Taylor
9f0d84ddb9
Transcript: Add label for table view checkbox
2020-09-24 15:16:41 -07:00
James Taylor
0a5088f1e5
Transcript table: Fix timestamps for videos longer than an hour
...
See #15
2020-09-24 14:44:21 -07:00
James Taylor
c7c74624ed
Transcript: For clarity, use more verbose names and add comments
2020-09-24 14:28:01 -07:00
James Taylor
97b092bf7a
Merge pull request #15 from zrose584/transcript_table
...
Transcript table
2020-09-24 12:14:20 -07:00
James Taylor
e829cc0e89
server.py: support alternative server software
...
Add if __name__ == '__main__' check and add the name
"application" pointing to the callable.
Fixes #19
2020-09-24 12:10:11 -07:00
James Taylor
5f5034e826
Increase max redirects for video routing
2020-09-22 20:59:20 -07:00
James Taylor
09e9888182
Merge pull request #18 from user938120/tor_port_setting
...
Add setting to change tor's port
2020-09-19 11:39:29 -07:00
user938120
3ffe5d0120
Add setting for tor_port
2020-09-19 12:23:30 +00:00
James Taylor
753f6c5389
Jump video to timestamp in description or comments
2020-09-18 17:32:28 -07:00
James Taylor
e9989af03a
Add tor video routing
...
Includes non-tor video routing by default, so no more chances
of the browser leaking headers or user agent to googlevideo
Adjust settings upgrade system to facilitate change to route_tor
setting.
Add some more space on settings page for dropdown settings so does
not overflow due to options with long names.
Closes #7
2020-09-18 14:40:21 -07:00
James Taylor
1ff97bfde1
New ctoken format. Fix channel pages > 1.
...
page > 1 still broken when sorting by oldest
2020-09-17 20:56:41 -07:00
zrose584
0830468bd1
style transcript div
2020-09-15 20:57:11 +02:00
zrose584
b3de26606d
handle firefox' VTT parsing bug
...
from #15 :
"[..] Firefox's VTT parsing [ignores] newlines. So if the cue starts
with a newline, that cue will have blank text (a corollary is that
the first sentence uttered will fail to display in the automatic
captions [..])."
2020-09-15 20:32:12 +02:00
James Taylor
e2e1e4cdec
settings.py: make names less confusing and remove dead code
...
Try to make the names more consistent and more descriptive.
Remove unused functions to reduce confusing clutter
Change locals() to globals(). Overwriting locals is invalid, just
works because it was at top level.
2020-09-14 08:20:15 -07:00
zrose584
0be0a59a2a
transcript-table: show transcript as contiguous text by default
2020-09-12 13:22:46 +02:00
zrose584
57978485ee
let jinja create the transcript <details> element
2020-09-12 10:51:01 +02:00
zrose584
537a8e8ab5
transcript-table.js: sync active transcript with select_tt
2020-09-12 10:23:31 +02:00
zrose584
081058c07e
default to last textTrack
2020-09-12 10:21:12 +02:00
zrose584
8222b6205b
hotkeys.js: ignore if e.ctrlKey
2020-09-12 10:17:56 +02:00
zrose584
05a7907be4
add transcript-table.js
2020-09-11 21:28:29 +02:00
zrose584
94ece08a1e
hotkeys.js: add 'c' for transcript
2020-09-11 21:27:49 +02:00
James Taylor
786d3eb445
hotkeys.js: use DOMContentLoaded so images don't delay script
...
Instead of the load event, which waits until all assets are
finished loading in order for script to start.
2020-09-09 19:00:19 -07:00
James Taylor
c2ca47c5d3
Add setting to enable/disable video hotkeys
2020-09-09 18:53:11 -07:00
James Taylor
75171b7bd5
Merge pull request #13 from zrose584/master
...
add hotkeys.js
2020-09-09 18:37:29 -07:00
zrose584
12e56c7e71
add hotkeys.js
2020-09-09 21:01:16 +02:00
James Taylor
3a8f18a1fd
Merge branch 'master' of https://github.com/user234683/youtube-local
2020-09-05 23:49:28 -07:00
James Taylor
06974ef41b
Don't log noisy caption requests to console
2020-09-05 23:44:01 -07:00
James Taylor
ca8fa3f55e
Merge pull request #9 from jellelicht/master
...
Support python >= 3.8 and allow for simpler packaging
2020-09-05 21:13:52 -07:00
Jelle Licht
799177d651
settings.py: Support newer `ast.Constant' for settings.txt file.
...
In python 3.8, specific constant AST types are removed in favor of
ast.Constant. This change should work for both cases. See
https://bugs.python.org/issue32892 for the given rationale.
2020-09-05 20:41:21 +02:00
Jelle Licht
c084caf492
server.py: Add python3 shebang
2020-09-05 20:41:16 +02:00
James Taylor
ec98348018
generate_release.py: Use wine to build windows releases on Linux
2020-08-12 19:18:34 -07:00
James Taylor
27300d0e7d
channel: Rename headers_1&headers_pbj & include user agents in them
...
headers_1 -> headers_desktop
headers_pbj -> headers_mobile
2020-08-12 15:05:31 -07:00
James Taylor
5637d4f430
channel_ctoken_desktop: fix parenthesis formatting
2020-08-12 14:55:51 -07:00