aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
Commit message (Collapse)AuthorAgeFilesLines
...
* Retrieve base.js url from html watch page when it's missingJames Taylor2020-12-093-14/+40
| | | | Fixes failure mode 3 in #22
* Add box to enter custom video speedJames Taylor2020-11-301-4/+33
|
* Video comments: replace with error message if there is errorJames Taylor2020-11-293-22/+56
| | | | Such as 429 error, or an exception
* video comments: add link to open the comments page separatelyJames Taylor2020-11-291-1/+7
| | | | for situations where the comments failed to load
* fetch_url: Use time.monotonic for comptability w/ tor_mgrJames Taylor2020-11-291-5/+8
| | | | | Buggy exit node retry behavior due to fetch_url still using time.time() instead of the time.monotonic() used by new_identity
* use Tor to resolve domain namesuser2346842020-11-121-2/+2
|
* yt_data_ext: watch playlist: Fix missing author_url if no author_idJames Taylor2020-11-081-3/+2
| | | | | | | Embedded playlist info was missing author_url key if author_id was None. This caused KeyError in watch.py when it expected that key Closes #37
* error page: dont use newline wrapping on error-boxJames Taylor2020-10-281-1/+3
| | | | | | | only should be used on error-message so newlines in error message properly display. Should not be used on error-box because that doesn't have bare text with newlines. Otherwise it was dispalying extraneous newlines.
* watch: Fix exception in to_valid_filename when video title is NoneJames Taylor2020-10-281-1/+1
|
* new_identity: authenticate with blank passwordJames Taylor2020-10-251-1/+1
| | | | See https://github.com/user234683/youtube-local/issues/20#issuecomment-716198162
* Automatically change tor circuit once if ip is blockedJames Taylor2020-10-253-46/+121
| | | | | | | Use stem library to send a new identity signal via the tor control port. See #20
* fetch_url: move content decoding to before 429 checkJames Taylor2020-10-251-1/+3
| | | | | Content should be decoded before we try reading page to check for 429. Lucky that it worked at all before.
* Organize settings into categoriesJames Taylor2020-10-221-3/+6
|
* Put vid title at end of download urls so downloads w/ that filenameJames Taylor2020-10-222-0/+65
|
* Redo fix for failure mode 1 in issue #22James Taylor2020-10-212-6/+6
| | | | | Previous fix didn't work. Should work now. The non-embedded player response can still be present but the urls will be missing.
* Remove commenting system. Because:James Taylor2020-10-218-663/+4
| | | | | | | | - 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
* Merge branch 'master' into add_sponsorblockJames Taylor2020-10-2118-99/+136
|\
| * remove trailing whitespaceszrose5842020-10-2110-33/+33
| |
| * comments.js: include error in reply html rather than using an alertJames Taylor2020-10-204-29/+31
| |
| * Comments.js: Add open in new tab button under replies as fallbackJames Taylor2020-10-202-0/+6
| | | | | | | | if xhr request fails
| * Move comment.js reply button styling to comments.cssJames Taylor2020-10-202-12/+12
| | | | | | | | So that the style will also be present on the /comments pages
| * Add setting to change font. Change default to arialJames Taylor2020-10-203-2/+19
| | | | | | | | Closes #33
| * Use get_video_info to get video urls if player response missingJames Taylor2020-10-192-6/+16
| | | | | | | | Fixes failure mode 1 in #22
| * Add 'self' directive for img to CSP when proxy_images is offJames Taylor2020-10-191-1/+1
| | | | | | | | | | | | | | | | The default directive has self, but the img directive overrides that completely. Need this for local image requests such as subscriptions closes #31
| * yt_data_extract: normalize thumbnail and author urlsJames Taylor2020-10-193-13/+18
| | | | | | | | | | | | | | | | | | | | 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
* | fix sponserblock:jszrose5842020-10-211-2/+2
| |
* | fix htmlzrose5842020-10-211-1/+1
| |
* | proxy 'sponsor.ajay.app'zrose5842020-10-187-12/+17
| |
* | add sponsorblock.jszrose5842020-10-175-8/+57
|/
* Merge pull request #29 from zrose584/copy_tsJames Taylor2020-10-132-0/+64
|\ | | | | add 't' hotkey to copy video link at current time
| * add 't' hotkeyzrose5842020-10-122-0/+64
| |
* | Merge branch 'master' into optional_proxy_imagesJames Taylor2020-10-1211-24/+95
|\|
| * Merge pull request #23 from zrose584/comments_jsJames Taylor2020-10-118-19/+86
| |\ | | | | | | add comments.js for comment replies
| | * remove trimming of comment likeszrose5842020-10-111-9/+1
| | |
| | * add comments.js to /commentszrose5842020-10-101-0/+5
| | |
| | * jinja: only include 'comments.js' if neededzrose5842020-10-091-2/+4
| | |
| | * replies: remove css borderzrose5842020-10-091-3/+0
| | |
| | * doXhr: check xhr.statuszrose5842020-10-091-1/+5
| | |
| | * add comments.jszrose5842020-10-078-19/+86
| | |
| * | playlist: Fix add-to-local-playlist form missingJames Taylor2020-10-091-1/+2
| | |
| * | Merge pull request #21 from zrose584/search_focusJames Taylor2020-10-092-1/+3
| |\ \ | | | | | | | | autofocus search input on homepage
| | * | autofocus search inputzrose5842020-10-071-1/+2
| | | |
| | * | yt_app.config: use 'TEMPLATES_AUTO_RELOAD'zrose5842020-10-071-0/+1
| | |/
| * / fix get_number_of_videos_channelzrose5842020-10-091-3/+4
| |/
* | put the slash backzrose5842020-10-121-1/+1
| |
* | always proxy cached thumbnailszrose5842020-10-102-3/+1
| |
* | Don't remove the CSP completelyzrose5842020-10-091-3/+2
| |
* | fix stylezrose5842020-10-093-3/+4
| |
* | settings.py: add 'proxy_images'zrose5842020-10-076-17/+22
|/
* Fix video height not scaling down when browser window is narrowJames Taylor2020-10-012-17/+57
| | | | | | This solution still makes sure the video doesn't jump in height when it loads, and makes it so the video scales down properly in aspect ratio as the browser window is made narrower.