574cb2dae8
Fix env["PATH_INFO"] for UWSGI, prevents bad url formatting
...
e.g:
ValueError: Invalid or unsupported url: https:/www.youtube.com/watch
2020-12-19 22:24:32 -05:00
1de9ae4245
Patch-import-migrate: Add embed page for embeds on the web
...
Issue #36
From e51f0a78c778a2283887db7ffc22421a7c849296 Mon Sep 17 00:00:00 2001
From: James Taylor <user234683@users.noreply.github.com>
2020-12-19 22:13:37 -05:00
James Taylor
afb2aca460
video routing: Range request missing content when connection closed
...
googlevideo sometimes doesn't send all video content and closes
the connection. Retry with a range request for the bytes needed
a maximum of three times.
Fixes first type of #40
Signed-off-by: Jesús <heckyel@hyperbola.info>
2020-12-19 10:49:08 -05:00
f4b36a220d
pep8
2020-12-15 21:14:27 -05:00
cf8e8ea5b1
Improve message Starting httpserver
2020-12-15 20:59:34 -05: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
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
zrose584
a8916b9308
proxy 'sponsor.ajay.app'
2020-10-18 18:48:52 +02: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
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
user938120
3ffe5d0120
Add setting for tor_port
2020-09-19 12:23:30 +00: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
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
Jelle Licht
c084caf492
server.py: Add python3 shebang
2020-09-05 20:41:16 +02:00
James Taylor
3a07a87c88
Don't log noisy thumbnail and avatar requests in the console
2020-08-12 14:37:32 -07:00
James Taylor
dd5c9a5d41
Fix parameters being ignored in youtu.be links
...
The parameters weren't passed to the underlying function
2020-04-05 17:26:48 -07:00
James Taylor
fa112592fa
Correct malformed query strings: change ? to & so flask
...
parses it correctly.
Otherwise, parameters starting with ? will be included in the video
id, which messes up the comments since the extraneous data is
passed into the the ctoken.
2020-03-08 13:40:32 -07:00
James Taylor
6a55771630
Redirect localhost:8080 to homepage
2019-09-07 21:40:38 -07:00
James Taylor
163814d35c
Convert subscriptions page to flask framework
2019-08-10 00:09:03 -07:00
James Taylor
8eff0bb9e2
Delete obsolete files
2019-07-21 21:59:52 -07:00
James Taylor
fc295ac93d
Convert comment posting system to flask framework
2019-07-21 21:48:54 -07:00
James Taylor
8cad77ad0d
Convert comments to flask framework
2019-07-19 22:27:10 -07:00
James Taylor
6261add37d
Convert local_playlist to flask framework
2019-07-06 23:08:04 -07:00
James Taylor
64434b02ca
Convert channel page to flask framework
2019-07-06 19:11:15 -07:00
James Taylor
d105d4520f
Convert playlist page to flask framework
2019-07-04 18:08:14 -07:00
James Taylor
1156b09987
Refactor search page
2019-06-21 21:41:41 -07:00
James Taylor
2db58930a6
Convert watch page to flask framework
2019-06-16 16:16:03 -07:00
James Taylor
1e1f55c9e5
Use persistent connections
2019-02-25 20:47:49 -08:00
James Taylor
b669050bed
server.py: remove obsolete code
2019-02-02 18:34:39 -08:00
James Taylor
6a23df8c90
Don't use tor when logging in
2018-12-26 17:24:53 -08:00
James Taylor
dca25bd4cc
Properly handle terminated channel on channel's playlist and about page
2018-12-21 01:59:33 -08:00
James Taylor
e499ff6185
When url fetch fails with http error, report it instead of just 500
2018-12-21 01:28:28 -08:00
James Taylor
a8d74ba082
Correctly handle case where channel doesn't exist
2018-12-20 01:11:50 -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
62769d94c5
relay headers when proxying site so caching happens
2018-07-24 04:08:34 -07:00
James Taylor
12382d5205
move settings to file, fix error if no banned_addresses.txt
2018-07-13 15:51:04 -07:00
James Taylor
2b308ec9f0
remove hardcoded path
2018-07-10 21:48:10 -07:00
James Taylor
49f10cb89a
502 Bad Gateway instead of just 500 error
2018-07-02 19:41:02 -07:00
James Taylor
2696fb30c2
add .gitattributes, default deny foreign addresses
2018-07-01 21:34:49 -07:00
James Taylor
98157bf1bf
initial commit
2018-06-30 23:34:46 -07:00