aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Use tor video routing instead of invidious for 403sJames Taylor2020-09-251-44/+8
| | | | | Using invidious isn't always successful, whereas Tor video routing appears to be near 100% successful.
* Add some space between transcript button and related videosJames Taylor2020-09-251-12/+14
|
* Specify video height in html so page doesn't shift down after loadJames Taylor2020-09-243-12/+19
| | | | | Use true video height extracted from youtube to handle videos shorter than their quality size. (e.g. widescreen videos)
* Transcript: Add label for table view checkboxJames Taylor2020-09-241-0/+1
|
* Transcript table: Fix timestamps for videos longer than an hourJames Taylor2020-09-241-4/+13
| | | | See #15
* Transcript: For clarity, use more verbose names and add commentsJames Taylor2020-09-242-49/+69
|
* Merge pull request #15 from zrose584/transcript_tableJames Taylor2020-09-244-4/+210
|\ | | | | Transcript table
| * style transcript divzrose5842020-09-152-3/+7
| |
| * handle firefox' VTT parsing bugzrose5842020-09-151-3/+6
| | | | | | | | | | | | | | | | from #15: "[..] Firefox's VTT parsing [ignores] newlines. So if the cue starts with a newline, that cue will have blank text (a corollary is that the first sentence uttered will fail to display in the automatic captions [..])."
| * transcript-table: show transcript as contiguous text by defaultzrose5842020-09-122-25/+53
| |
| * let jinja create the transcript <details> elementzrose5842020-09-122-17/+17
| |
| * transcript-table.js: sync active transcript with select_ttzrose5842020-09-121-2/+6
| |
| * default to last textTrackzrose5842020-09-122-2/+12
| |
| * hotkeys.js: ignore if e.ctrlKeyzrose5842020-09-121-1/+2
| |
| * add transcript-table.jszrose5842020-09-112-0/+121
| |
| * hotkeys.js: add 'c' for transcriptzrose5842020-09-113-3/+38
| |
* | Increase max redirects for video routingJames Taylor2020-09-221-3/+13
| |
* | Add setting for tor_portuser9381202020-09-191-3/+3
| |
* | Jump video to timestamp in description or commentsJames Taylor2020-09-183-4/+25
| |
* | Add tor video routingJames Taylor2020-09-183-19/+34
| | | | | | | | | | | | | | | | | | | | Includes non-tor video routing by default, so no more chances of the browser leaking headers or user agent to googlevideo Adjust settings upgrade system to facilitate change to route_tor setting. Add some more space on settings page for dropdown settings so does not overflow due to options with long names. Closes #7
* | New ctoken format. Fix channel pages > 1.James Taylor2020-09-171-10/+32
|/ | | | page > 1 still broken when sorting by oldest
* hotkeys.js: use DOMContentLoaded so images don't delay scriptJames Taylor2020-09-091-2/+2
| | | | | Instead of the load event, which waits until all assets are finished loading in order for script to start.
* Add setting to enable/disable video hotkeysJames Taylor2020-09-092-10/+9
|
* add hotkeys.jszrose5842020-09-092-1/+35
|
* channel: Rename headers_1&headers_pbj & include user agents in themJames Taylor2020-08-121-14/+13
| | | | | headers_1 -> headers_desktop headers_pbj -> headers_mobile
* channel_ctoken_desktop: fix parenthesis formattingJames Taylor2020-08-121-2/+1
|
* Switch to desktop endpnt w/ new ctoken format except sort by old>1James Taylor2020-08-122-19/+19
| | | | | Sorting by old for pages > 1 currently broken on some channels; it's still using the mobile endpoint.
* yt_data_extract: Fix time_published picking up 'Streaming' stringJames Taylor2020-08-121-1/+5
| | | | | This was causing an exception in subscriptions when it tried to estimate the unix timestamp for the upload time
* Don't use brotli if import failsJames Taylor2020-08-111-2/+9
|
* Fix author_url not prefixed in subscriptions pageJames Taylor2020-08-111-1/+1
|
* Switch to mobile api endpoint to fix 'Unknown error' blockageJames Taylor2020-08-113-42/+65
| | | | See https://github.com/iv-org/invidious/issues/1319#issuecomment-671732646
* extract_items: Handle case where continuation has multipleJames Taylor2020-08-112-11/+23
| | | | | | | | | | | | [something]Continuation renderers, all of which are junk except one. Check the items in each one until the one which contains the items being sought is found. The usage in extract_comments_info needed to be changed to specify the items being sought. It was unspecified before which is strictly incorrect since extract_items by default looks for video/playlist/channel thumbnail items. It was relying on this special case for continuations. But now that wouldn't work anymore.
* extract_channel_info: Improve error extractionJames Taylor2020-08-112-4/+7
| | | | | | | | Use extract_str function since it's not always 'simpleText' Make sure we don't output an empty error message if we don't know what it is. channel.py: Don't check if error message is empty, check if it's None
* 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.
* Bugfix: Support integer-only ?t paramJames Taylor2020-07-301-0/+2
| | | | When there's only an integer, and no unit, it's all in seconds
* Add support for &t parameterJames Taylor2020-07-252-0/+13
|
* Playlist page: Fix error on failure to extract playlist titleJames Taylor2020-07-251-1/+1
| | | | Such as when the playlist was deleted or doesn't exist
* Add video transcript to downloadsJames Taylor2020-07-252-1/+90
| | | | Generated from the video captions
* Include livestream fmt urls for former livestream w/o static urlsJames Taylor2020-06-281-1/+13
| | | | | | | If none of the format urls for the former livestream are static, meaning they use a non-livestream format playable by the browser, then include the dialog for copying hte livestream format urls into external video player
* Fix hls_manifest_url not included when there's no other formatsJames Taylor2020-06-281-2/+6
| | | | | | | Since there are no formats, it was retrying with the non-embedded playerResponse, which resulted in the hls_manifest_urls from the embedded player_response being overwritten with None. So use conservative_update instead
* Add dialog for copying urls to external player for livestreamsJames Taylor2020-06-284-12/+101
| | | | | Also for livestreams which are over whose other sources aren't present or aren't ready yet.
* Handle case where embedded player response missingJames Taylor2020-06-281-2/+10
| | | | | | | | Change so it extracts other stuff from regular playerResponse Extract formats from embedded player response, but fallback to regular one if that doesn't work. Sometimes there is no 'player' at top_level and the urls are in the regular playerResponse
* Do not override previous playability error if unknownJames Taylor2020-06-281-1/+1
|
* Fix previously live videos labeled as liveJames Taylor2020-05-291-1/+3
|
* Fix broken signature decryptionJames Taylor2020-05-271-1/+2
| | | | | | | | | The base.js url format changed, so the identifier at the end was no longer unique. So it was using the wrong cached decryption function Changes the identifier to just be the whole url so this won't happen again.