aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/subscriptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Subscriptions: Use playlist method to get channel videosAstound2024-01-221-5/+17
| | | | Use the UU (user uploads) playlist since it includes streams
* Set hqdefault thumnail imagesJesus E2023-06-181-1/+1
|
* Add application/vnd.ms-excel as CSV mime typeAndreas2021-12-311-1/+1
| | | | | | Windows sends application/vnd.ms-excel as MIME Type instead of text/csv Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add NewPipe subscriptions import and exportJames Taylor2021-09-011-10/+47
| | | | | | Closes #82 Signed-off-by: Jesús <heckyel@hyperbola.info>
* subscriptions: Support new subscriptions.csv formatJames Taylor2021-08-311-1/+21
| | | | | | | | According to https://github.com/iv-org/invidious/issues/2319 Google Takeout changed the format from json to csv Signed-off-by: Jesús <heckyel@hyperbola.info>
* Cleaner channel-checking console error messages when Tor is closedJesús2021-07-281-8/+12
| | | | by James Taylor <user234683@users.noreply.github.com>
* Capitalize name appJesús2021-06-101-3/+3
|
* Add subscriptions exportJesús2021-05-061-0/+44
| | | | plus design by heckyel
* Channel: use general pbj=1 endpoint to get first page of videosJames Taylor2021-03-031-1/+1
| | | | | | | | | YouTube disabled the browse_ajax endpoint. Quick fix for first channel page. In general, this will be more robust against api endpoint changes. As YouTube continues to change api endpoints, at least the subscriptions and first page will no longer break. Signed-off-by: Jesús <heckyel@hyperbola.info>
* pep8Jesús2020-12-151-53/+68
|
* Fix author_url not prefixed in subscriptions pageJames Taylor2020-08-111-1/+1
|
* Fix old videos appearing in subscriptions when channel deletes vidsJames Taylor2020-08-031-2/+13
| | | | | | Example: 30 vids in DB, 1 vid that we previously saw has since been deleted. Then on checking, the vid in the 30th slot appeared to be new.
* Correctly start and stop subscriptions autochecker when it isJames Taylor2020-03-081-41/+56
| | | | disabled/enabled in settings.
* 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
|