aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove `var` and fix transcript button jumping above autoplay on page loadJesús2021-07-041-19/+17
| | | | | | | | Obsolete code from #15 that was forgotten to be removed From ea34965be31dcf7e7e30c1edb9a9fa9d18fe6b30 Mon Sep 17 00:00:00 2001 From: James Taylor <user234683@users.noreply.github.com> Date: Sat, 3 Jul 2021 20:06:11 -0700
* Fix request search when is emptyJesús2021-07-042-2/+2
|
* Improved plyr configurationJesús2021-07-032-7/+17
|
* get_video_info: Specify language so error messages are in englishJames Taylor2021-07-011-0/+1
| | | | | | Otherwise error message language will be region of Tor exit node Signed-off-by: Jesús <heckyel@hyperbola.info>
* Change search url path to match the YouTube pathJames Taylor2021-07-014-15/+13
| | | | | | Fixes #67 Signed-off-by: Jesús <heckyel@hyperbola.info>
* w3c syntax, unnecessary role=buttonJesús2021-06-291-1/+1
|
* autoplay-toggle: use label tagJesús2021-06-292-8/+24
| | | | | | from upstream: <label> is semantic and makes clicking the text activate in checkbox
* feat: autoplay related video - minor fix styleJesús2021-06-231-0/+1
|
* fix settings.subtitles_mode in plyrJesús2021-06-231-0/+4
|
* fix name id of videoJesús2021-06-231-1/+1
|
* Fix set language subtitlesJesús2021-06-232-24/+25
|
* Workaround for age restriction bypassJames Taylor2021-06-231-2/+6
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* usage `let` not `var`Jesús2021-06-231-17/+17
|
* feat: autoplay for related videosUmimaso2021-06-232-118/+152
| | | | | | | | | | | Add autoplay support for related videos. Move the playlist autoplay code into this shared script. Add the SameSite=Strict attribute to the autoplay cookie due to Firefox soon rejecting cookies which use SameSite=None without the secure attribute. Closes: #50 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Open direct link in new tabJesús2021-06-231-1/+1
|
* feat: add direct linkUmimaso2021-06-233-0/+9
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix styles dropdown option button in desktopJesús2021-06-141-0/+2
|
* Fix shared.css file style missingJesús2021-06-1414-68/+8
|
* [error.html]: fix set styleJesús2021-06-141-3/+5
|
* Fix name appJesús2021-06-103-5/+5
|
* Capitalize name appJesús2021-06-109-12/+12
|
* update URL issuesJesús2021-06-101-1/+1
|
* Fix design error messageJesús2021-06-101-1/+9
|
* Use extract_approx_int for comment likesJames Taylor2021-06-103-5/+6
| | | | | | | | Full digits no longer available Closes #64 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix 404 errors on scheduled live events and age-gate bypassJames Taylor2021-06-011-5/+22
| | | | | | | | | | get_video_info now returns 404 error. Adding html5=1 fixes it (for now). See https://github.com/ytdl-org/youtube-dl/issues/29086#issuecomment-844892791 Also handles 404 error if it arises so it will be non-fatal Signed-off-by: Jesús <heckyel@hyperbola.info>
* Not force plyr as playerJesús2021-05-241-10/+15
|
* [licenses]: fix URL license ExpatJesús2021-05-221-1/+1
|
* Add plyr as main playerJesús2021-05-2219-1/+50218
| | | | Also plyr supports switch quality
* Fix comment like extraction due to Youtube changesJames Taylor2021-05-171-0/+2
| | | | | | Variable name changed from likeCount to voteCount Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix vids added to playlist from watch page not having author urlJames Taylor2021-05-171-4/+5
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix videos added to playlist from channel page not having authorJames Taylor2021-05-171-2/+3
| | | | | | Information from additional_info was being overrided with None. Signed-off-by: Jesús <heckyel@hyperbola.info>
* Channel about: Add http:// to links without itJames Taylor2021-05-061-0/+2
| | | | | | So that the link is not interpretted as a relative link Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add subscriptions exportJesús2021-05-064-7/+107
| | | | plus design by heckyel
* Save uploader id in local playlistsJames Taylor2021-05-061-2/+5
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add local playlist export optionJames Taylor2021-05-062-12/+70
| | | | | | Temporary workaround for #61 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Add tooltip to video speed box to improve discoverabilityJames Taylor2021-04-131-1/+1
| | | | | | See #60 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Channel: Allow going to next pages of playlists pageJames Taylor2021-03-154-3/+20
| | | | | | | Uses previous and next buttons. Now can view more than just first page of playlists page Signed-off-by: Jesús <heckyel@hyperbola.info>
* proto_debug: improve recursive_pb functionJames Taylor2021-03-151-36/+81
| | | | | | | | | | | | 1) Fix bug where it would decode as base64 but not indicate that in the structure 2) Use a list of patterns of youtube object ids so it will not base64 decode those 3) Detect the base64 type. If not possible, outputs base64? 4) Remove unnecessary try-except clause 5) Remove unused filt parameter Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix regression: playlists not showing up besides videosJames Taylor2021-03-151-1/+1
| | | | | | Forgot to change & to ? in previous commit changing to embed page Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix channel searchJames Taylor2021-03-151-1/+19
| | | | | | | Update the search from the browse_ajax api to the new one Fixes #57 Signed-off-by: Jesús <heckyel@hyperbola.info>
* Fix regression: Channels not sorting by oldest/popularJames Taylor2021-03-031-1/+2
| | | | | | | | get_channel_first_page was mistakenly used when the sorting or view is different. Must use channel_tab which generates the necessary ctokens. Signed-off-by: Jesús <heckyel@hyperbola.info>
* Use new channel api endpoint now that browse_ajax is disabledJames Taylor2021-03-032-4/+26
| | | | | | Fixes channel pages > 1 Signed-off-by: Jesús <heckyel@hyperbola.info>
* util.py: Encode data using utf-8, not asciiJames Taylor2021-03-031-2/+2
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* util.py: Fix data not being passed in requestsJames Taylor2021-03-031-2/+2
| | | | Signed-off-by: Jesús <heckyel@hyperbola.info>
* Channel: use general pbj=1 endpoint to get first page of videosJames Taylor2021-03-032-4/+15
| | | | | | | | | 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>
* General theme: fix footer centerJesús2021-02-2711-11/+11
|
* Fix data comments 00ef1c862744ec00886bc3fa4b95fdfc6c151866Jesús2021-02-261-1/+1
|
* minor fixJesús2021-02-261-2/+2
|
* Update max_replies when there's a continuation for the repliesJames Taylor2021-02-261-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>
* proto_debug.py: Use new implementations from protoJames Taylor2021-02-261-35/+91
| | | | | | | And change base64u to base64p to match (u too easily confused with "unpadded") Signed-off-by: Jesús <heckyel@hyperbola.info>