45 Commits

Author SHA1 Message Date
James Taylor
fd253d9e07
Merge branch 'master' into optional_proxy_images 2020-10-12 09:37:13 -07:00
zrose584
643a0e8659 remove trimming of comment likes 2020-10-11 16:28:30 +02:00
zrose584
debc11931f add comments.js 2020-10-07 20:32:57 +02:00
zrose584
f8d9be2d5a settings.py: add 'proxy_images' 2020-10-07 19:28:52 +02:00
James Taylor
56e7751da7 Fix failure to parse comments when there's one from deleted channel
Specifically, fix failures when any of the fields from the parsed
comment are None, such as author, author_url, etc.
(failure due to string concatenation when building urls).
2020-03-08 16:17:04 -07:00
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
98777ee825 Extraction: Rewrite item_extraction for better error handling and readability, rename extracted names for more consistency 2019-12-18 19:39:16 -08:00
James Taylor
61c50e0b54 Extraction: Move comment extraction to yt_data_extract 2019-09-19 11:41:16 -07:00
James Taylor
ba0809b965 rename enable_comments amd enable_related_videos 2019-08-01 00:28:51 -07: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
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
9f93b9429c Fix comment parsing error due to comments from deleted channels 2019-05-09 23:07:43 -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
a57fc77426 WSGI for simple non-path GET pages 2019-01-05 00:20:39 -08:00
James Taylor
ea0705a98d Add permalink to comment on timestamp 2019-01-02 21:42:14 -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
913c258093 Use channel id to uniquely identify accounts, not username 2018-12-30 23:27:51 -08:00
James Taylor
ca37786e38 Fix username parameter not being sent 2018-12-26 20:12:55 -08:00
James Taylor
fcbd8ebef6 Added account selection to comment boxes 2018-12-26 19:37:15 -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
409fea0197 Use post/redirect/get method to prevent form resubmission for comments 2018-11-10 21:13:49 -08:00
James Taylor
ac9fbbbf10 comments: fixed regression in previous comments bugfix commit 2018-10-18 01:45:31 -07:00
James Taylor
697d6e3583 fix error parsing comments when a comment has all replies in a thread 2018-10-16 13:18:56 -07:00
James Taylor
03f5ccbacb add support for lc parameter 2018-10-01 17:58:35 -07:00
James Taylor
6c61472daf Display latency/read-time for comment retrieval 2018-09-15 17:54:12 -07:00
James Taylor
5f4d4e0499 single comment retrieval function, remove left-over debug writing 2018-09-07 13:49:45 -07:00
James Taylor
ffeccc5ac3 Reorganize comment system 2018-09-01 21:53:40 -07:00
James Taylor
6146c5293b Return comments by newest after posting top-level comment 2018-08-31 23:10:22 -07:00
James Taylor
ebfe58e6cb Ability to reply to comments 2018-08-31 16:23:19 -07:00
James Taylor
8cf42ed00b Fix blank comments causing parsing to fail 2018-08-30 20:02:00 -07:00
James Taylor
6a6433619f Display video title & thumbnail on comment pages 2018-08-26 18:06:48 -07:00
James Taylor
d9115ea2cf Comments: In title, indicate page number or that page contains replies 2018-08-26 00:17:24 -07:00
James Taylor
1e540a2542 fix extraneous escape in comment username 2018-08-25 14:32:49 -07:00
James Taylor
3b8529ca11 Fix comments not working as result of youtube changes 2018-08-24 14:47:09 -07:00
James Taylor
dcc3183411 remove leftover debug writing causing error when no debug directory 2018-07-31 16:52:51 -07:00
James Taylor
97545f9b3b add settings for enabling/disabling comments, comment avatars, & related vids 2018-07-13 17:16:29 -07:00
James Taylor
26620cbac8 front-end support for adding to playlists 2018-07-08 16:22:23 -07:00
James Taylor
83afe7eb11 fixed more comments not working 2018-07-07 01:04:48 -07:00
James Taylor
666456146d fix comment replies being limited to 10 2018-07-06 20:11:08 -07:00
James Taylor
79937c1c82 fix line endings 2018-07-02 17:45:25 -07:00
James Taylor
98157bf1bf initial commit 2018-06-30 23:34:46 -07:00