aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of https://github.com/user234683/youtube-localJames Taylor2020-09-052-1/+3
|\
| * Merge pull request #9 from jellelicht/masterJames Taylor2020-09-052-1/+3
| |\ | | | | | | Support python >= 3.8 and allow for simpler packaging
| | * settings.py: Support newer `ast.Constant' for settings.txt file.Jelle Licht2020-09-051-1/+2
| | | | | | | | | | | | | | | | | | In python 3.8, specific constant AST types are removed in favor of ast.Constant. This change should work for both cases. See https://bugs.python.org/issue32892 for the given rationale.
| | * server.py: Add python3 shebangJelle Licht2020-09-051-0/+1
| |/
* / Don't log noisy caption requests to consoleJames Taylor2020-09-051-1/+1
|/
* generate_release.py: Use wine to build windows releases on LinuxJames Taylor2020-08-121-11/+29
|
* 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 log noisy thumbnail and avatar requests in the consoleJames Taylor2020-08-121-3/+13
|
* generate_release.py: Don't uninstall setuptoolsJames Taylor2020-08-111-1/+1
| | | | gevent was changed and now depends on it for some reason
* 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
* Update READMEJames Taylor2020-08-101-5/+4
|
* 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.
* Fix urls sometimes not extracted due to youtube changesJames Taylor2020-05-271-1/+2
| | | | | The 'cipher' parameter which contains the url is sometimes called 'signatureCipher' instead now.
* Add option for reloading video without invidiousJames Taylor2020-05-272-40/+56
| | | | For faster usage of new identity button as an alternative
* Fix error when invidious fails to return URLSJames Taylor2020-05-271-1/+1
|
* Fix error getting exit node ip if format urls are NoneJames Taylor2020-05-271-1/+1
|
* Indicate that video is liveJames Taylor2020-05-272-0/+4
|
* Fix comment count & disabled extraction not working sometimesJames Taylor2020-04-101-3/+14
| | | | because of A/B test.
* Do not hide comments if false determination of disabled commentsJames Taylor2020-04-101-0/+9
| | | | | | | | If the extraction from watch page determines that they are disabled, but the separate request for the comments found comments, then change that determination, with a warning (since that would be a bug). And set the comment count to None as a dirty way to make such a bug noticeable.
* Fix related video extraction sometimes failingJames Taylor2020-04-101-2/+10
| | | | Youtube added some pointless variation in variable names
* Fix exception due to missing 'playlist' key in extracted infoJames Taylor2020-04-051-0/+3
| | | | | | Happens when there's an error on the page and there was no visible stuff on the page. 'playlist' wasn't set to None in that case.
* Fix parameters being ignored in youtu.be linksJames Taylor2020-04-051-1/+4
| | | | The parameters weren't passed to the underlying function
* Fix error when there's a video format with mimetype class of 'text'James Taylor2020-04-041-1/+1
|
* Add playlist sidebar for videos in playlist, including autoplayJames Taylor2020-04-046-30/+299
|
* Fix regression: local playlist form not shown on channel videos pageJames Taylor2020-03-291-0/+1
|
* Prevent long titles with no spaces overflowing item containersJames Taylor2020-03-201-1/+8
|
* Correctly start and stop subscriptions autochecker when it isJames Taylor2020-03-082-41/+71
| | | | disabled/enabled in settings.
* Fix failure to parse comments when there's one from deleted channelJames Taylor2020-03-082-12/+32
| | | | | | Specifically, fix failures when any of the fields from the parsed comment are None, such as author, author_url, etc. (failure due to string concatenation when building urls).
* Correct malformed query strings: change ? to & so flaskJames Taylor2020-03-081-0/+3
| | | | | | | | parses it correctly. Otherwise, parameters starting with ? will be included in the video id, which messes up the comments since the extraneous data is passed into the the ctoken.
* 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.
* Specify default font for consistency between operating systemsJames Taylor2020-02-221-3/+7
| | | | | | | | On debian for instance, the default font DejaVu Sans is bigger than the default calibri/times on Windows, messing up the layout in some places. The font size in video items was adjusted slightly to accomodate the change to liberation sans for the default.