Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch to new comments api now that old one is being disabled | James Taylor | 2021-08-09 | 1 | -20/+19 |
| | | | | | | | | | | | watch_comment api periodically gives the error "Top level comments mweb servlet is turned down." The continuation items for the new api are in a different arrangement in the json, so changes were necessary to the extract_items function. Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Comments: Fix exceptions when ctoken metadata are missing (None) | James Taylor | 2021-08-09 | 1 | -2/+13 |
| | | | | Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Capitalize name app | Jesús | 2021-06-10 | 1 | -1/+1 |
| | |||||
* | Use extract_approx_int for comment likes | James Taylor | 2021-06-10 | 1 | -2/+3 |
| | | | | | | | | Full digits no longer available Closes #64 Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | minor fix | Jesús | 2021-02-26 | 1 | -2/+2 |
| | |||||
* | Update max_replies when there's a continuation for the replies | James Taylor | 2021-02-26 | 1 | -6/+15 |
| | | | | | | | | | | | Because of the new ctoken methodology for getting comment replies, the more comments button automatically works inside the comment reply thread when there are more replies than the limit (250). This commit also updates the max_replies for that ctoken so the next 250 replies will be retrieved for the more comments ctoken. Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | Fix comment replies | James Taylor | 2021-02-26 | 1 | -39/+30 |
| | | | | | | | | | | | | | Comment reply protobuf now requires the channel id of the uploader of the video. Otherwise the endpoint returns 500. Instead of making the protobuf ourselves and passing this data around through query parameters, just use the ctoken provided to us but modify the max_replies field from 10 to 250. Fixes #53 Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | strip_non_ascii in comments-author-name | Jesús | 2020-12-30 | 1 | -2/+5 |
| | |||||
* | request_comments: remove obsolete retrying code | James Taylor | 2020-12-21 | 1 | -11/+6 |
| | | | | | | | | The issue that code was working around happened with an older request format (the ajax format) that was removed. The issue does not happen with the newer polymer format. Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | video_comments: print error string in console | James Taylor | 2020-12-21 | 1 | -2/+4 |
| | | | | Signed-off-by: Jesús <heckyel@hyperbola.info> | ||||
* | pep8 | Jesús | 2020-12-15 | 1 | -22/+35 |
| | |||||
* | Video comments: replace with error message if there is error | James Taylor | 2020-11-29 | 1 | -15/+42 |
| | | | | Such as 429 error, or an exception | ||||
* | video comments: add link to open the comments page separately | James Taylor | 2020-11-29 | 1 | -1/+7 |
| | | | | for situations where the comments failed to load | ||||
* | Remove commenting system. Because: | James Taylor | 2020-10-21 | 1 | -22/+3 |
| | | | | | | | | - Actually using it will result in comments being shadowbanned, even those posted from Youtube's interfacs, because your account gets downranked since no analytics are present so it looks like a bot posting the comment. - It's been broken for awhile | ||||
* | yt_data_extract: normalize thumbnail and author urls | James Taylor | 2020-10-19 | 1 | -1/+1 |
| | | | | | | | | | | for instance, urls that start with // become https:// adjustment required in comments.py because the url was left as a relative url in yt_data_extract by mistake and was using URL_ORIGIN prefix as fix. see #31 | ||||
* | Merge branch 'master' into optional_proxy_images | James Taylor | 2020-10-12 | 1 | -3/+5 |
|\ | |||||
| * | remove trimming of comment likes | zrose584 | 2020-10-11 | 1 | -9/+1 |
| | | |||||
| * | add comments.js | zrose584 | 2020-10-07 | 1 | -4/+14 |
| | | |||||
* | | settings.py: add 'proxy_images' | zrose584 | 2020-10-07 | 1 | -2/+2 |
|/ | |||||
* | Fix failure to parse comments when there's one from deleted channel | James Taylor | 2020-03-08 | 1 | -12/+23 |
| | | | | | | 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). | ||||
* | Extraction: Rewrite comment extraction, remove author_id and rename ↵ | James Taylor | 2019-12-19 | 1 | -5/+4 |
| | | | | | | | | | 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. | ||||
* | Extraction: Rewrite item_extraction for better error handling and ↵ | James Taylor | 2019-12-18 | 1 | -11/+11 |
| | | | | readability, rename extracted names for more consistency | ||||
* | Extraction: Move comment extraction to yt_data_extract | James Taylor | 2019-09-19 | 1 | -93/+6 |
| | |||||
* | rename enable_comments amd enable_related_videos | James Taylor | 2019-08-01 | 1 | -1/+1 |
| | |||||
* | Remove ad-hoc response saving from code, create a debug setting for fetch_url | James Taylor | 2019-07-23 | 1 | -3/+1 |
| | |||||
* | Convert comment posting system to flask framework | James Taylor | 2019-07-21 | 1 | -4/+9 |
| | |||||
* | Convert comments to flask framework | James Taylor | 2019-07-19 | 1 | -280/+117 |
| | |||||
* | Fix comment parsing error due to comments from deleted channels | James Taylor | 2019-05-09 | 1 | -4/+11 |
| | |||||
* | refactor common.py into 3 files | James Taylor | 2019-02-21 | 1 | -29/+30 |
| | |||||
* | Add newline to end of files | James Taylor | 2019-01-06 | 1 | -1/+1 |
| | |||||
* | rename env['fields'] to env['parameters'] and rename fields to parameters in ↵ | James Taylor | 2019-01-06 | 1 | -1/+1 |
| | | | | general | ||||
* | WSGI for simple non-path GET pages | James Taylor | 2019-01-05 | 1 | -3/+4 |
| | |||||
* | Add permalink to comment on timestamp | James Taylor | 2019-01-02 | 1 | -1/+6 |
| | |||||
* | Ability to delete comments | James Taylor | 2018-12-31 | 1 | -3/+24 |
| | |||||
* | Rename username to channel_id in more places | James Taylor | 2018-12-31 | 1 | -2/+2 |
| | |||||
* | Use channel id to uniquely identify accounts, not username | James Taylor | 2018-12-30 | 1 | -2/+2 |
| | |||||
* | Fix username parameter not being sent | James Taylor | 2018-12-26 | 1 | -1/+1 |
| | |||||
* | Added account selection to comment boxes | James Taylor | 2018-12-26 | 1 | -3/+17 |
| | |||||
* | Ability to sort channel videos by oldest and by views | James Taylor | 2018-12-17 | 1 | -3/+3 |
| | |||||
* | Use post/redirect/get method to prevent form resubmission for comments | James Taylor | 2018-11-10 | 1 | -1/+1 |
| | |||||
* | comments: fixed regression in previous comments bugfix commit | James Taylor | 2018-10-18 | 1 | -3/+4 |
| | |||||
* | fix error parsing comments when a comment has all replies in a thread | James Taylor | 2018-10-16 | 1 | -5/+5 |
| | |||||
* | add support for lc parameter | James Taylor | 2018-10-01 | 1 | -6/+10 |
| | |||||
* | Display latency/read-time for comment retrieval | James Taylor | 2018-09-15 | 1 | -6/+4 |
| | |||||
* | single comment retrieval function, remove left-over debug writing | James Taylor | 2018-09-07 | 1 | -2/+9 |
| | |||||
* | Reorganize comment system | James Taylor | 2018-09-01 | 1 | -26/+86 |
| | |||||
* | Return comments by newest after posting top-level comment | James Taylor | 2018-08-31 | 1 | -3/+9 |
| | |||||
* | Ability to reply to comments | James Taylor | 2018-08-31 | 1 | -1/+6 |
| | |||||
* | Fix blank comments causing parsing to fail | James Taylor | 2018-08-30 | 1 | -1/+2 |
| | |||||
* | Display video title & thumbnail on comment pages | James Taylor | 2018-08-26 | 1 | -16/+40 |
| |