20 Commits

Author SHA1 Message Date
James Taylor
beb0976b5b Extraction: Rewrite comment extraction, remove author_id and rename author_channel_id to that, fix bug in extract_items
author_id (an internal sql-like integer previously required for deleting and editing comments) has been removed by Youtube and is no longer required.
Remove it for simplicity.
Rename author_channel_id to author_id for consistency with other extraction attributes.
extract_items returned None for items instead of [] for empty continuation responses. Fixes that.
2019-12-19 15:50:19 -08:00
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
c5827a3bb1 Add status template, use for comment deletion status 2019-07-21 22:43:29 -07:00
James Taylor
fc295ac93d Convert comment posting system to flask framework 2019-07-21 21:48:54 -07:00
James Taylor
b32330be4f refactor common.py into 3 files 2019-02-21 21:32:31 -08:00
James Taylor
36e0409db4 Add newline to end of files 2019-01-06 18:20: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
a98f94b1ec WSGI for /post_comment (POST request) 2019-01-05 02:22:12 -08:00
James Taylor
28270a9ce8 WSGI for /delete_comment (POST request) 2019-01-05 01:57:50 -08:00
James Taylor
a57fc77426 WSGI for simple non-path GET pages 2019-01-05 00:20:39 -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
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
fcbd8ebef6 Added account selection to comment boxes 2018-12-26 19:37:15 -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
fef272af4f Use new cookiejar system for comment posting 2018-12-25 00:43:49 -08:00
James Taylor
3d1a1189e7 Reorganized account and commenting functions into different files 2018-12-24 23:39:09 -08:00