aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/subscriptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix subscriptions new video count when there are deleted videosJames Taylor2020-02-271-16/+13
| | | | | | It would be 30 since the old method looked to see where the latest video in the database is in the new batch of videos. New method finds the first video in the new batch which is in the database.
* Fix subscription checking breaking due to workers crashingJames Taylor2020-02-231-0/+2
| | | | | | | The try statement was missing an except clause. So if there was an exception such as the tor browser being closed or getting a 429 error during the request, the workers would crash until there were none left to handle checking.
* Subscriptions auto-checking: Better console error message for 429 errorsJames Taylor2020-02-181-3/+23
| | | | Display a descriptive error message instead of a traceback
* Give a proper error message for 429 errorsJames Taylor2020-01-311-3/+10
| | | | | | These occur when too many requests are coming from a Tor exit node. Before, there would be an error page with an exception instructing users to report the issue. But this is an expected and persistent issue.
* Subscriptions: Cleaner error message when checking terminated channelsJames Taylor2019-12-221-1/+3
| | | | Don't display a nasty traceback in that case.
* Subscriptions: Make uploader name clickable, with link to channelJames Taylor2019-12-221-2/+4
|
* Merge branch 'modular-data-extract'James Taylor2019-12-191-5/+12
|\ | | | | | | | | | | | | | | | | | | | | Commits in this branch are prefixed with "Extraction:" This branch refactors data extraction. All such functionality has been moved to the yt_data_extract module. Responses from requests are given to the module and it parses them into a consistent, more useful format. The dependency on youtube-dl has also been dropped and this functionality has been built from scratch for these reasons: (1) I've noticed youtube-dl breaks more often than invidious (which uses watch page extraction built from scratch) in response to changes from Youtube, so I'm hoping what I wrote will also be less brittle. (2) Such breakage is inconvenient because I have to manually merge the fixes since I had to make changes to youtube-dl to make it do things such as extracting related videos. (3) I have no control over error handling and request pooling with youtube-dl, since it does all the requests (these would require intrusive changes I don't want to maintain). (4) I will now be able to finally display the number of comments and whether comments are disabled without making additional requests.
| * Extraction: Move html post processing stuff from yt_data_extract to utilJames Taylor2019-12-191-1/+1
| |
| * Extraction: Rewrite item_extraction for better error handling and ↵James Taylor2019-12-181-3/+5
| | | | | | | | readability, rename extracted names for more consistency
| * Extraction: refactor response extraction to work with both mobile & desktop ↵James Taylor2019-09-191-2/+2
| | | | | | | | respones, also improve errors
| * Extraction: Proper error handling for terminated or non-existant channelsJames Taylor2019-09-081-1/+6
| |
| * Extraction: Move channel extraction to yt_data_extractJames Taylor2019-09-081-1/+1
| |
* | Fix list of local playlists not being given on subscriptions page and local ↵James Taylor2019-09-151-1/+2
|/ | | | playlist page
* Subscriptions: order videos by date published when there's too many new ↵James Taylor2019-09-071-38/+62
| | | | videos from a channel
* Subscriptions: autocheck after subscribing to channelJames Taylor2019-09-031-17/+25
|
* Subscriptions: Order videos by the time they were added to dbJames Taylor2019-09-031-48/+58
|
* Subscriptions: Add watched column in database for future featureJames Taylor2019-08-171-1/+2
|
* Subscriptions: Hopefully fix autochecking being scheduled in the pastJames Taylor2019-08-171-12/+20
|
* Subscriptions: Don't show videos from muted channelsJames Taylor2019-08-171-1/+2
|
* Subscriptions: Add database versionJames Taylor2019-08-171-0/+3
|
* Subscriptions: check channel's atom feed to get exact time publishedJames Taylor2019-08-171-9/+62
|
* Subscriptions: show when video was publishedJames Taylor2019-08-161-15/+38
|
* Subscriptions: improve checking messages, say how many new vids from channelJames Taylor2019-08-141-3/+31
|
* Subscriptions: double auto-check rateJames Taylor2019-08-141-1/+1
|
* Subscriptions auto-checking systemJames Taylor2019-08-141-4/+88
|
* When restricting subscriptions to a tag, make that tag unclickable and add ↵James Taylor2019-08-121-0/+1
| | | | link to unrestrict
* Add pagination to subscriptions pageJames Taylor2019-08-121-9/+29
|
* Set sqlite to respect foreign key constraintsJames Taylor2019-08-111-1/+2
|
* Ability to only show videos from channels with specific tagJames Taylor2019-08-111-7/+17
|
* Subscriptions flask port: add missing html info (video url and info dict)James Taylor2019-08-111-0/+1
|
* If thumbnail or thumbnail directory is deleted after having been downloaded, ↵James Taylor2019-08-111-16/+23
| | | | correctly detect it and redownload it
* Fix bug when thumbnail directory doesn't exist where first downloaded ↵James Taylor2019-08-111-1/+1
| | | | thumbnail is made a directory
* Delete thumbnails from channel when unsubscribingJames Taylor2019-08-111-1/+24
|
* Download and save subscription thumbnails when requested by the browser, not ↵James Taylor2019-08-111-35/+32
| | | | preemptively
* Add subscribe button on channelsJames Taylor2019-08-101-1/+1
|
* Convert subscription manager to flask frameworkJames Taylor2019-08-101-128/+82
|
* Convert subscriptions page to flask frameworkJames Taylor2019-08-101-96/+64
|
* Fix checking specific channelsJames Taylor2019-06-111-0/+1
|
* Add channel mutingJames Taylor2019-06-111-50/+76
|
* Unsubscribe button on channels if already subscribedJames Taylor2019-06-101-0/+14
|
* Order channel names in a case-insensitive mannerJames Taylor2019-06-101-3/+3
|
* Retrieve 60 videos for subscriptions page instead of 30James Taylor2019-06-101-1/+1
|
* Use a single cursor for db operations when possible instead of reopening ↵James Taylor2019-06-101-88/+80
| | | | multiple times
* Group by tags feature and improve appearance of sub list itemsJames Taylor2019-06-101-16/+85
|
* Support opml for subscriptions importJames Taylor2019-06-091-1/+21
|
* simplify list_from_comma_separated_tagsJames Taylor2019-06-091-15/+1
|
* Overhaul refresh system, make it asynchronousJames Taylor2019-06-091-25/+119
|
* Don't spam database with opening and closing when getting tags for many channelsJames Taylor2019-06-081-15/+15
|
* Reduce boilerplate in db functions with context managersJames Taylor2019-06-081-133/+70
|
* Add subscription manager systemJames Taylor2019-06-071-9/+275
|