34 Commits

Author SHA1 Message Date
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