aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
Commit message (Collapse)AuthorAgeFilesLines
...
* Watch: Add border around badges such as unlisted badgeJames Taylor2019-12-201-1/+3
| | | | Especially for the light theme
* Fix regression: date extraction broken. Move constants to correct file in ↵James Taylor2019-12-202-2/+2
| | | | yt_data_extract
* Subscriptions: Display selected tag above videos.James Taylor2019-12-201-0/+6
| | | | Otherwise, it wasn't clear enough that a tag was selected.
* Merge branch 'modular-data-extract'James Taylor2019-12-1920-780/+1760
|\ | | | | | | | | | | | | | | | | | | | | 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 non-stateful signature decryption functionality into ↵James Taylor2019-12-193-86/+110
| | | | | | | | yt_data_extract
| * Extraction: Move stuff around in files and put underscores in front of ↵James Taylor2019-12-193-38/+37
| | | | | | | | | | | | internal helper function names Move get_captions_url in watch_extraction to bottom next to other exported, public functions
| * Extraction: Move html post processing stuff from yt_data_extract to utilJames Taylor2019-12-199-52/+50
| |
| * Extraction: Split yt_data_extract.py into multiple filesJames Taylor2019-12-195-1190/+1188
| |
| * Extraction: Rewrite comment extraction, remove author_id and rename ↵James Taylor2019-12-193-80/+67
| | | | | | | | | | | | | | | | | | 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: Adjust related videos box to fit new time_published information wellJames Taylor2019-12-191-8/+8
| | | | | | | | | | | | time_published will be put to the right of the view_count in related videos Author will now always be above the other stats, since it doesn't make a difference in the big search result boxes since the description snippet is always very short (However, it's important the author isn't inline with the other stats in related video boxes since those are so narrow and the author name can be very long)
| * Extraction: Use accessibility data to get timestamp and to get views for ↵James Taylor2019-12-181-0/+10
| | | | | | | | recommended videos
| * Extraction: rename multi_get functions to more descriptive namesJames Taylor2019-12-183-68/+68
| |
| * Extraction: Rewrite item_extraction for better error handling and ↵James Taylor2019-12-1812-340/+305
| | | | | | | | readability, rename extracted names for more consistency
| * Extraction: Fix thumbnail and remove badges on related videosJames Taylor2019-12-172-4/+10
| |
| * Extraction: Fix mistake with age-restriction detectionJames Taylor2019-12-171-1/+1
| |
| * Extraction: Detect limited state and fix false detection as unlistedJames Taylor2019-12-173-2/+14
| |
| * Extraction: Make limited state videos workJames Taylor2019-12-171-1/+1
| |
| * Extraction: Extract info from microformat to get views for limited state ↵James Taylor2019-12-171-39/+60
| | | | | | | | videos, and as a fallback. Shorten some function names
| * Extraction: Add fallback playability error extraction from renderersJames Taylor2019-12-141-17/+24
| |
| * Extraction: Fix subtitles error when video has no automatic captions but has ↵James Taylor2019-12-141-1/+5
| | | | | | | | foreign language captions
| * Extraction: Fix subtitles not working on certain videos which require more ↵James Taylor2019-12-141-5/+15
| | | | | | | | parameters in the captions url
| * Extraction: Display that video is age-restrictedJames Taylor2019-12-121-7/+21
| |
| * Extraction: Bypass age-restrictionJames Taylor2019-12-122-35/+90
| |
| * Extraction: Add general subtitle extraction and translationJames Taylor2019-11-292-69/+126
| |
| * Extraction: extract automatic captionsJames Taylor2019-11-281-2/+32
| |
| * Extraction: extract fields from visible webpage if missing from playerResposneJames Taylor2019-11-251-31/+61
| |
| * Extraction: return and display any errors preventing video playbackJames Taylor2019-11-223-21/+40
| |
| * Extraction: Add signature decryptionJames Taylor2019-10-182-84/+193
| |
| * Extraction: Replace youtube-dl with custom-built watch page extractionJames Taylor2019-10-174-96/+523
| |
| * Extraction: Fix did_you_mean and showing_results_forJames Taylor2019-09-273-14/+18
| |
| * Extraction: Rename get_response to extract_response and check that returned ↵James Taylor2019-09-271-20/+11
| | | | | | | | type is dict
| * Extraction: Move item extraction into a generic, robust functionJames Taylor2019-09-271-63/+176
| |
| * Extraction: Move comment extraction to yt_data_extractJames Taylor2019-09-193-107/+114
| |
| * Extraction: refactor response extraction to work with both mobile & desktop ↵James Taylor2019-09-195-23/+54
| | | | | | | | respones, also improve errors
| * Extraction: Move playlist extraction to yt_data_extractJames Taylor2019-09-083-19/+38
| |
| * Extraction: Move search extraction to yt_data_extractJames Taylor2019-09-082-49/+57
| |
| * Extraction: Proper error handling for terminated or non-existant channelsJames Taylor2019-09-083-7/+18
| |
| * Extraction: Move channel extraction to yt_data_extractJames Taylor2019-09-083-121/+124
| |
| * Extraction: Fix url prefixingJames Taylor2019-09-083-8/+19
| |
* | Fix regression: Can't remove videos from local playlistsJames Taylor2019-10-211-5/+12
| |
* | Fix muted channels not being faded out on subscription manager pageJames Taylor2019-10-171-0/+2
| |
* | Fix related videos title clippingJames Taylor2019-09-181-1/+2
| |
* | Fix list of local playlists not being given on subscriptions page and local ↵James Taylor2019-09-152-1/+3
| | | | | | | | playlist page
* | Only display local playlist controls in header on pages with videosJames Taylor2019-09-151-72/+74
| |
* | Add optional javascript for adding videos to playlists without the browser ↵James Taylor2019-09-152-1/+82
| | | | | | | | cancelling loading of the video, and to display a status message
* | Local playlists list: center list and add background to itJames Taylor2019-09-101-0/+17
| |
* | Comments: Fix some avatars overflowingJames Taylor2019-09-101-0/+3
| |
* | Watch page: Background color on video when scrubbing bar larger than videoJames Taylor2019-09-094-1/+4
|/
* Allow 'New' badge in video itemsJames Taylor2019-09-081-2/+1
|
* Search: Add some space around the number of resultsJames Taylor2019-09-081-0/+4
|