zrose584
94ece08a1e
hotkeys.js: add 'c' for transcript
2020-09-11 21:27:49 +02:00
James Taylor
786d3eb445
hotkeys.js: use DOMContentLoaded so images don't delay script
...
Instead of the load event, which waits until all assets are
finished loading in order for script to start.
2020-09-09 19:00:19 -07:00
James Taylor
c2ca47c5d3
Add setting to enable/disable video hotkeys
2020-09-09 18:53:11 -07:00
James Taylor
75171b7bd5
Merge pull request #13 from zrose584/master
...
add hotkeys.js
2020-09-09 18:37:29 -07:00
zrose584
12e56c7e71
add hotkeys.js
2020-09-09 21:01:16 +02:00
James Taylor
3a8f18a1fd
Merge branch 'master' of https://github.com/user234683/youtube-local
2020-09-05 23:49:28 -07:00
James Taylor
06974ef41b
Don't log noisy caption requests to console
2020-09-05 23:44:01 -07:00
James Taylor
ca8fa3f55e
Merge pull request #9 from jellelicht/master
...
Support python >= 3.8 and allow for simpler packaging
2020-09-05 21:13:52 -07:00
Jelle Licht
799177d651
settings.py: Support newer `ast.Constant' for settings.txt file.
...
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.
2020-09-05 20:41:21 +02:00
Jelle Licht
c084caf492
server.py: Add python3 shebang
2020-09-05 20:41:16 +02:00
James Taylor
ec98348018
generate_release.py: Use wine to build windows releases on Linux
2020-08-12 19:18:34 -07:00
James Taylor
27300d0e7d
channel: Rename headers_1&headers_pbj & include user agents in them
...
headers_1 -> headers_desktop
headers_pbj -> headers_mobile
2020-08-12 15:05:31 -07:00
James Taylor
5637d4f430
channel_ctoken_desktop: fix parenthesis formatting
2020-08-12 14:55:51 -07:00
James Taylor
ac9b7f0162
Switch to desktop endpnt w/ new ctoken format except sort by old>1
...
Sorting by old for pages > 1 currently broken on some channels;
it's still using the mobile endpoint.
2020-08-12 14:46:29 -07:00
James Taylor
4bedf55461
yt_data_extract: Fix time_published picking up 'Streaming' string
...
This was causing an exception in subscriptions when it tried
to estimate the unix timestamp for the upload time
2020-08-12 14:40:47 -07:00
James Taylor
3a07a87c88
Don't log noisy thumbnail and avatar requests in the console
2020-08-12 14:37:32 -07:00
James Taylor
3fccc39e32
generate_release.py: Don't uninstall setuptools
...
gevent was changed and now depends on it for some reason
2020-08-11 22:54:13 -07:00
James Taylor
bd255a9ab0
Don't use brotli if import fails
2020-08-11 21:57:40 -07:00
James Taylor
cc123d6761
Fix author_url not prefixed in subscriptions page
2020-08-11 21:14:13 -07:00
James Taylor
8e12551471
Switch to mobile api endpoint to fix 'Unknown error' blockage
...
See https://github.com/iv-org/invidious/issues/1319#issuecomment-671732646
2020-08-11 21:09:59 -07:00
James Taylor
fa61874f97
extract_items: Handle case where continuation has multiple
...
[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.
2020-08-11 19:59:25 -07:00
James Taylor
81ff5ab99c
extract_channel_info: Improve error extraction
...
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
2020-08-11 19:47:37 -07:00
James Taylor
804ed093ee
Update README
2020-08-10 19:53:22 -07:00
James Taylor
4d3e35c981
Fix old videos appearing in subscriptions when channel deletes vids
...
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.
2020-08-03 14:52:55 -07:00
James Taylor
b3b48967c5
Bugfix: Support integer-only ?t param
...
When there's only an integer, and no unit, it's all in seconds
2020-07-30 13:07:16 -07:00
James Taylor
e78d239323
Add support for &t parameter
2020-07-25 21:25:23 -07:00
James Taylor
a7ff3a5217
Playlist page: Fix error on failure to extract playlist title
...
Such as when the playlist was deleted or doesn't exist
2020-07-25 21:03:42 -07:00
James Taylor
9fc347e093
Add video transcript to downloads
...
Generated from the video captions
2020-07-25 19:40:37 -07:00
James Taylor
44d7f9da99
Include livestream fmt urls for former livestream w/o static urls
...
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
2020-06-28 18:20:47 -07:00
James Taylor
803c901445
Fix hls_manifest_url not included when there's no other formats
...
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
2020-06-28 18:18:04 -07:00
James Taylor
aa3e5aa441
Add dialog for copying urls to external player for livestreams
...
Also for livestreams which are over whose other sources
aren't present or aren't ready yet.
2020-06-28 17:52:24 -07:00
James Taylor
6e14a8547d
Handle case where embedded player response missing
...
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
2020-06-28 13:18:54 -07:00
James Taylor
0b5d6fe1ed
Do not override previous playability error if unknown
2020-06-28 12:46:04 -07:00
James Taylor
b4450ec4bb
Fix previously live videos labeled as live
2020-05-29 15:34:33 -07:00
James Taylor
bdac6a2302
Fix broken signature decryption
...
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.
2020-05-27 12:15:41 -07:00
James Taylor
85db7e46ed
Fix urls sometimes not extracted due to youtube changes
...
The 'cipher' parameter which contains the url is sometimes called
'signatureCipher' instead now.
2020-05-27 11:56:30 -07:00
James Taylor
d7a4b03fdf
Add option for reloading video without invidious
...
For faster usage of new identity button as an alternative
2020-05-27 11:55:47 -07:00
James Taylor
3d5293ba4a
Fix error when invidious fails to return URLS
2020-05-27 11:19:39 -07:00
James Taylor
f1f77c4d77
Fix error getting exit node ip if format urls are None
2020-05-27 11:14:52 -07:00
James Taylor
d5e661dfd3
Indicate that video is live
2020-05-27 11:14:19 -07:00
James Taylor
b2f482f1fb
Fix comment count & disabled extraction not working sometimes
...
because of A/B test.
2020-04-10 13:57:11 -07:00
James Taylor
481b4ecf58
Do not hide comments if false determination of disabled comments
...
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.
2020-04-10 13:25:40 -07:00
James Taylor
1224dd88a3
Fix related video extraction sometimes failing
...
Youtube added some pointless variation in variable names
2020-04-10 13:09:38 -07:00
James Taylor
3e09193eaf
Fix exception due to missing 'playlist' key in extracted info
...
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.
2020-04-05 17:27:43 -07:00
James Taylor
dd5c9a5d41
Fix parameters being ignored in youtu.be links
...
The parameters weren't passed to the underlying function
2020-04-05 17:26:48 -07:00
James Taylor
4d9d8cec6f
Fix error when there's a video format with mimetype class of 'text'
2020-04-04 22:53:49 -07:00
James Taylor
5554d5afff
Add playlist sidebar for videos in playlist, including autoplay
2020-04-04 22:52:09 -07:00
James Taylor
b5d42e2f3c
Fix regression: local playlist form not shown on channel videos page
2020-03-29 15:00:53 -07:00
James Taylor
d1bdbf4269
Prevent long titles with no spaces overflowing item containers
2020-03-20 22:08:42 -07:00
James Taylor
408a9c79ae
Correctly start and stop subscriptions autochecker when it is
...
disabled/enabled in settings.
2020-03-08 21:01:15 -07:00