5f3b90ad45
Fix channel about tab
2024-01-22 06:29:42 +08:00
2463af7685
subscriptions: Update live/upcoming/premier durations upon check
...
The durations were previously set to "LIVE", "UPCOMING", etc. and
would not be updated once the livestream was over or the upcoming
video was published.
2024-01-22 06:14:32 +08:00
86bb312d6d
Subscriptions: Fix exceptions when videos are missing upload dates
...
E.g. line 548, AttributeError: 'NoneType' object has no attribute 'lower'
When upload dates are unavailable, make ones up which give the
correct video order
2024-01-22 06:03:16 +08:00
964b99ea40
Fix comment replies not working
...
YouTube set a limit of 200 replies, otherwise it rejects the
request. So decrease the requested number of replies to 200
2024-01-22 06:00:49 +08:00
51a1693789
Fix comment count extraction due to 'K/M' postfixes
...
YouTube now displays 2K comments instead of 2359, for instance
2024-01-22 05:59:11 +08:00
ca4a735692
Add settings for filtering out shorts in subscriptions and channels
2024-01-22 05:55:59 +08:00
2140f48919
Subscriptions: Use playlist method to get channel videos
...
Use the UU (user uploads) playlist since it includes streams
2024-01-22 05:52:44 +08:00
4be01d3964
Put back sort by oldest logic since YouTube added it back
...
Previous commit replaced it with shorts-filtering, use sort code
number 4 for that instead. Sort by oldest is still broken
pending reverse engineering of new ctoken format, however.
2024-01-22 05:47:09 +08:00
b45e3476c8
channels: Use the UU playlist to get videos by default
...
This will be much less likely to break moving forward since
YouTube rarely changes the playlist api
Videos page now includes shorts and streams in the video lsit
Also include an option to filter out shorts on the videos page
2024-01-22 05:39:11 +08:00
d591956baa
ylist: show 100 videos per page instead of 20
...
Also add an option to the internal playlist ctoken function
for filtering out shorts, to be used in future anti-shorts features
2024-01-22 05:21:12 +08:00
Jesus
6011a08cdf
v0.2.6
0.2.6
2023-09-11 04:20:49 +08:00
Jesus
83af4ab0d7
Fix comment count not extracted sometimes
...
YouTube created a new key 'commentCount' in addition to 'headerText'
2023-09-11 04:15:25 +08:00
Jesus
5594d017e2
Fix related vids, like_count, playlist sometimes missing
...
Cause is that some pages have the onResponseReceivedEndpoints key
at the top level with useless stuff in it, and the extract_items
function was searching in that instead of the 'contents' key.
Change to use if blocks instead of elif blocks in the
extract_items function.
2023-09-11 04:13:56 +08:00
Jesus
8f9c5eeb48
Fix 403s 1 minute into videos
...
https://github.com/iv-org/invidious/issues/4027
https://github.com/TeamNewPipe/NewPipeExtractor/pull/1084/files
2023-09-11 04:08:23 +08:00
Jesus
89e21302e3
generate_release.py: fix syntax error
2023-09-11 04:07:15 +08:00
Jesus
cb4ceefada
Filter out translated audio tracks
...
See comment in code
2023-09-11 04:06:11 +08:00
Jesus E
c4cc5cecbf
README.md: update
2023-06-19 21:38:05 -04:00
Jesus E
cc8f30eba2
Relax error and send error_code to template
2023-06-19 21:23:25 -04:00
Jesus E
6740afd6a0
version 0.2.5
0.2.5
2023-06-18 20:30:39 -04:00
Jesus E
63c0f4aa8f
Fix typo
2023-06-18 20:12:48 -04:00
Jesus E
8908dc138f
Set related videos thumbnail to HQ
2023-06-18 19:47:15 -04:00
Jesus E
cd7624f2cb
Set hqdefault thumnail images
2023-06-18 19:45:34 -04:00
Jesus E
5d53225874
Fix pagination
2023-06-18 13:55:07 -04:00
Jesus E
6af17450c6
README.md: update
2023-06-17 20:01:01 -04:00
Jesus E
d85c27a728
version 0.2.4
0.2.4
2023-06-17 19:41:40 -04:00
Jesus E
344341b87f
README.md: update
2023-06-17 17:08:30 -04:00
Jesus E
21224c8dae
watch_extraction.py: fix conditional
2023-06-17 16:25:34 -04:00
Jesus E
93b58efa0e
Fix offset format
2023-06-17 16:17:18 -04:00
Jesus E
db08283368
Update token offset field
...
Change offset field to a uint with field number 1
2023-06-17 16:16:40 -04:00
Jesus E
0f4bf45cde
Fix minor formatting issues
2023-06-17 16:14:59 -04:00
Jesus E
d7f934b7b2
Merge short and video parsing even further
...
Use multi_get and multi_deep_get for tag differences
Replace the duration check with conservative_update
2023-06-17 16:14:02 -04:00
Jesus E
a4299dc917
Merge short and video parsing
2023-06-17 16:10:59 -04:00
Jesus E
e6fd9b40f4
Fix parsing shorts
...
Add check for extracting duration for shorts
Make short duration extraction stricter
Fix handling shorts with no views
2023-06-17 16:08:52 -04:00
Jesus E
f322035d4a
Add functional but preliminary channel tab support
...
Add channel tabs to the channel template and script
Update continuation token to request different tabs
Add support for 'reelItemRenderer' format required to extract shorts
2023-06-17 16:05:40 -04:00
Jesus E
74907a8183
Music list extraction: read from SONG field
...
This one is used when there is no corresponding YouTube video
for the track
2023-05-28 21:45:20 -04:00
Jesus E
ec8f652bc8
Update generate_release.py
...
Need to use 64-bit by default now, because gevent is no longer
built for 32-bit Python
2023-05-28 21:44:13 -04:00
Jesus E
aa57ace742
Fix music list extraction
...
Closes #160
2023-05-28 21:42:13 -04:00
Jesus E
512798366c
Revert to android URLs and fix 403s by including params
...
Including 'params': '8AEB' fixes the issue with the URLs
returning 403 after a couple minutes into the video.
Credit to @ImportTaste for pointing this out
Closes #168
2023-05-28 21:36:15 -04:00
Jesus E
9859c5485e
Only use android URLs if encrypted; they randomly go 403
...
Android URLs now begin returning 403s mid playback at random.
2023-05-28 21:32:37 -04:00
Jesus E
e54596f3e9
Partially fix age restricted videos
...
Does not work for videos that require decryption because
decryption is not working (giving 403) for some reason.
Related invidious issue for decryption not working:
https://github.com/iv-org/invidious/issues/3245
Partial fix for #146
2023-05-28 21:30:51 -04:00
Jesus E
c6e1b366b5
Fix "This video is unavailable" due to outdated android
...
client
Send the latest android client version as well as a new key
with the sdk version.
See https://github.com/iv-org/invidious/pull/3255 for more details
Fixes #165
2023-05-28 21:21:11 -04:00
Jesus E
43e7f7ce93
Cache channel metadata for pages that don't provide it
...
Ensures channel profile picture & description are displayed
Also ensures that videos added to a local playlist from such pages
will have the channel name included
Fixes #151
2023-05-28 21:19:55 -04:00
Jesus E
97032b31ee
Update channel ctoken format due to youtube changes
...
Hopefully they don't immediately revert it.
Related to #151
2023-05-28 21:17:03 -04:00
Jesus E
ba3714c860
server.py: route any subdomain of googleusercontent.com &
...
ggpht.com
Avatars no longer loaded after YouTube changed the subdomain.
Fixes #163
2023-05-28 21:12:13 -04:00
Jesus E
14c8cf3f5b
Fix error with non-channel-id urls
...
Only update channel id based on the url if we have it
2023-05-28 21:10:39 -04:00
Jesus E
3025158d14
Use ctoken_v3 format for channel playlist & search pages
...
For #151
2023-05-28 21:08:05 -04:00
Jesus E
fb13fd21ef
channels: Fix sorting & page prefixing not working
...
Further completes #151
2023-05-28 21:06:53 -04:00
Jesus E
68752000f0
Update channel to new ctoken format
...
Huge thanks to @michaelweiser
Different sortings still don't work for videos and playlists
2023-05-28 21:04:36 -04:00
Jesus E
7b60751e99
Fix failure to detect vp9.2 and mp4v.20.3 codecs
2023-05-28 20:47:47 -04:00
Jesus E
9890617098
Fix fmt extraction mime_type regex failure as well as exceptions
2023-05-28 20:44:30 -04:00