641 Commits

Author SHA1 Message Date
James Taylor
ec2fb71a37 WSGI for search 2019-01-04 03:33:07 -08:00
James Taylor
ea0705a98d Add permalink to comment on timestamp 2019-01-02 21:42:14 -08:00
James Taylor
2550552b28 Indicate whether tor routing is on 2018-12-31 03:18:42 -08:00
James Taylor
eda81412f6 Updated README 2018-12-31 03:14:21 -08:00
James Taylor
b70e3bf6dd Change default port to 8080 2018-12-31 02:53:06 -08:00
James Taylor
e3fac7da54 Ability to delete comments 2018-12-31 02:52:27 -08:00
James Taylor
005c1239a6 Rename username to channel_id in more places 2018-12-31 00:00:06 -08:00
James Taylor
e98f693aaf put session_token retrieval code into a function 2018-12-30 23:56:00 -08:00
James Taylor
913c258093 Use channel id to uniquely identify accounts, not username 2018-12-30 23:27:51 -08:00
James Taylor
248c2e1415 Save channel id when adding account 2018-12-30 05:06:42 -08:00
James Taylor
d86b4704f8 Option to use tor when logging in 2018-12-30 03:39:10 -08:00
James Taylor
a9c1e804ed post_comment: receive cookies given during session token retrieval (fixes 400 bad request when comment is posted) 2018-12-26 20:16:14 -08:00
James Taylor
a5286e57cc Fix post_comment function 2018-12-26 20:14:33 -08:00
James Taylor
ca37786e38 Fix username parameter not being sent 2018-12-26 20:12:55 -08:00
James Taylor
1cb0095536 Fix cookiejar_from_lwp function 2018-12-26 20:07:10 -08:00
James Taylor
fcbd8ebef6 Added account selection to comment boxes 2018-12-26 19:37:15 -08:00
James Taylor
dfbd7778d1 Make accounts.txt more human-readable 2018-12-26 18:45:50 -08:00
James Taylor
9a386145ff If specified, save account to disk after adding it 2018-12-26 18:37:35 -08:00
James Taylor
90f19d2d5b Rename cookie_jar to cookiejar 2018-12-26 18:27:15 -08:00
James Taylor
2b4b5e284c fetch_url: Fix cookies not being sent after redirects 2018-12-26 18:20:53 -08:00
James Taylor
6a23df8c90 Don't use tor when logging in 2018-12-26 17:24:53 -08:00
James Taylor
b321b5fc64 Server-side http logic for adding account 2018-12-26 02:21:20 -08:00
James Taylor
b4aa7cecbc _login: Add youtube-dl standard headers to requests 2018-12-26 02:12:05 -08:00
James Taylor
f8c51bdfd8 fetch_url: fix cookie sending/receiving not working 2018-12-26 02:05:56 -08:00
James Taylor
d5e2e3ee8a Added account login page 2018-12-25 01:26:23 -08:00
James Taylor
fef272af4f Use new cookiejar system for comment posting 2018-12-25 00:43:49 -08:00
James Taylor
5ffe9a4030 Function to produce LWPCookieJar from lwp string 2018-12-25 00:13:52 -08:00
James Taylor
8f5edfe6f9 Accounts: use dictionary based on username instead of list 2018-12-24 23:55:43 -08:00
James Taylor
dda06bd860 add_account function 2018-12-24 23:50:39 -08:00
James Taylor
3d1a1189e7 Reorganized account and commenting functions into different files 2018-12-24 23:39:09 -08:00
James Taylor
888a850dbf Loading/saving of accounts 2018-12-24 23:29:35 -08:00
James Taylor
59c0d76424 Initial port of _login method 2018-12-24 03:00:42 -08:00
James Taylor
b61865beb1 Added cookie-handling ability to fetch_url 2018-12-24 00:42:15 -08:00
James Taylor
b1fff10065 common: support for POST data in fetch_url 2018-12-23 02:16:15 -08:00
James Taylor
6217e6f558 Properly handle case of non-existent channel tab 2018-12-21 02:13:52 -08:00
James Taylor
f74447bc5c Fix channel title out-of-place in channel search results 2018-12-21 02:05:41 -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
30ed068c33 Fix error when user page has no videos 2018-12-21 01:03:19 -08:00
James Taylor
cbdc404703 Correctly handle case where video ID is too short 2018-12-20 01:25:36 -08:00
James Taylor
a8d74ba082 Correctly handle case where channel doesn't exist 2018-12-20 01:11:50 -08:00
James Taylor
9d1c688310 Correctly handle case where channel was terminated 2018-12-20 01:04:43 -08:00
James Taylor
4a8bfac225 Ability to sort playlists on channel 2018-12-19 22:14:11 -08:00
James Taylor
bccc9107b8 Fixed regression: error on channel playlists/search page 2018-12-19 21:23:59 -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
7c97a17053 Support for custom channel urls 2018-12-16 18:49:09 -08:00
James Taylor
804b7e8d84 Fixed regression that broke subtitles 2018-12-04 23:24:17 -08:00
James Taylor
357de43122 fix playlist description sometimes having large blank space after it 2018-11-29 23:15:27 -08:00
James Taylor
9b4aafcacc post/redirect/get for removing items from playlist 2018-11-10 21:58:01 -08:00