James Taylor
bcaec7b7d3
fetch_url: move content decoding to before 429 check
...
Content should be decoded before we try reading page to check for
429. Lucky that it worked at all before.
2020-10-25 10:54:15 -07:00
James Taylor
c09fe63d9b
Adjust labels for some recently added settings
2020-10-22 15:03:26 -07:00
James Taylor
9f1b69d22f
Organize settings into categories
2020-10-22 15:00:06 -07:00
James Taylor
5f4884dce8
Put vid title at end of download urls so downloads w/ that filename
2020-10-22 14:30:33 -07:00
James Taylor
f8b6db1480
Redo fix for failure mode 1 in issue #22
...
Previous fix didn't work. Should work now. The non-embedded player
response can still be present but the urls will be missing.
2020-10-21 22:42:07 -07:00
James Taylor
d3230e8daf
Remove commenting system. Because:
...
- Actually using it will result in comments being shadowbanned,
even those posted from Youtube's interfacs, because your account
gets downranked since no analytics are present so it looks like a
bot posting the comment.
- It's been broken for awhile
2020-10-21 19:58:31 -07:00
James Taylor
8b54a5f3aa
Merge pull request #32 from zrose584/add_sponsorblock
...
add sponsorblock.js
2020-10-21 18:53:34 -07:00
James Taylor
aa52c7a42e
Merge branch 'master' into add_sponsorblock
2020-10-21 18:53:12 -07:00
James Taylor
f01ef36a37
Merge pull request #34 from zrose584/rm_whitespaces
...
remove trailing whitespaces
2020-10-21 09:57:49 -07:00
zrose584
a27b575380
remove trailing whitespaces
2020-10-21 10:35:01 +02:00
zrose584
3b5df36b03
fix sponserblock:js
2020-10-21 10:30:00 +02:00
zrose584
832524e421
fix html
2020-10-21 10:29:49 +02:00
James Taylor
c696db3e84
comments.js: include error in reply html rather than using an alert
2020-10-20 18:24:41 -07:00
James Taylor
95f2f027ea
Comments.js: Add open in new tab button under replies as fallback
...
if xhr request fails
2020-10-20 17:48:18 -07:00
James Taylor
f100685d64
Move comment.js reply button styling to comments.css
...
So that the style will also be present on the /comments pages
2020-10-20 17:19:45 -07:00
James Taylor
125ddaa8da
Add setting to change font. Change default to arial
...
Closes #33
2020-10-20 15:38:00 -07:00
James Taylor
c9d0f685a4
Use get_video_info to get video urls if player response missing
...
Fixes failure mode 1 in #22
2020-10-19 13:53:57 -07:00
James Taylor
b35afb7cf6
Add 'self' directive for img to CSP when proxy_images is off
...
The default directive has self, but the img directive overrides
that completely. Need this for local image requests such as
subscriptions
closes #31
2020-10-19 13:33:17 -07:00
James Taylor
ef711dad05
settings.py: fix img_prefix not updated when setting changes
...
caused old prefix to still be used after changing setting
see #31
2020-10-19 13:26:57 -07:00
James Taylor
75e8930958
yt_data_extract: normalize thumbnail and author urls
...
for instance, urls that start with // become https://
adjustment required in comments.py because the url was left as a
relative url in yt_data_extract by mistake and was using URL_ORIGIN
prefix as fix.
see #31
2020-10-19 12:55:03 -07:00
zrose584
d86f521326
give credit to 'ajayyy/SponsorBlock'
2020-10-18 21:17:36 +02:00
zrose584
a8916b9308
proxy 'sponsor.ajay.app'
2020-10-18 18:48:52 +02:00
zrose584
f7f2b9fa06
add sponsorblock.js
2020-10-17 19:51:41 +02:00
James Taylor
e3c311e10a
Merge pull request #29 from zrose584/copy_ts
...
add 't' hotkey to copy video link at current time
2020-10-13 20:06:52 -07:00
James Taylor
641af53e2e
Merge pull request #24 from zrose584/optional_proxy_images
...
settings.py: add 'proxy_images'
2020-10-12 09:37:54 -07:00
James Taylor
fd253d9e07
Merge branch 'master' into optional_proxy_images
2020-10-12 09:37:13 -07:00
zrose584
d2ee49ec45
add 't' hotkey
2020-10-12 17:52:01 +02:00
zrose584
37d286fc7c
put the slash back
2020-10-12 13:46:50 +02:00
James Taylor
2cfc6dec39
Merge pull request #23 from zrose584/comments_js
...
add comments.js for comment replies
2020-10-11 18:52:34 -07:00
zrose584
643a0e8659
remove trimming of comment likes
2020-10-11 16:28:30 +02:00
zrose584
4844fa6d65
add comments.js to /comments
2020-10-10 19:01:44 +02:00
zrose584
7d7b072a5b
always proxy cached thumbnails
2020-10-10 18:42:54 +02:00
James Taylor
e182cf8283
playlist: Fix add-to-local-playlist form missing
2020-10-09 21:11:27 -07:00
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