25 Commits

Author SHA1 Message Date
James Taylor
e00c3cf99f Remove ad-hoc response saving from code, create a debug setting for fetch_url 2019-07-23 23:57:45 -07:00
James Taylor
167483af21 Convert login to flask framework and fix the login, and fix account display 2019-07-21 00:03:34 -07:00
James Taylor
b32330be4f refactor common.py into 3 files 2019-02-21 21:32:31 -08:00
James Taylor
1ba38a5c9c Content-type: text/plain for errors or status messages 2019-01-06 19:31:01 -08:00
James Taylor
1c061783b4 accounts: write newline at end of file when saving accounts 2019-01-06 18:27:29 -08:00
James Taylor
bb2d40ac83 rename env['fields'] to env['parameters'] and rename fields to parameters in general 2019-01-06 01:33:52 -08:00
James Taylor
60df0aec6d WSGI for logging in (POST request) 2019-01-05 01:47:54 -08:00
James Taylor
a57fc77426 WSGI for simple non-path GET pages 2019-01-05 00:20:39 -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
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
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
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