33 Commits

Author SHA1 Message Date
630e0137e0
Increase playlist count to 1000 by default if cannot get video count
This way, buttons will still appear even if there is a failure
to read playlist metadata

Fixes #220# Please enter the commit message for your changes. Lines starting
2025-02-28 10:51:51 +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
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 E
cd7624f2cb
Set hqdefault thumnail images 2023-06-18 19:45:34 -04:00
James Taylor
e1fe6b1d8e
Remove obsolete uppercase_escape function
This function was only necessary with the old ajax format, which
was removed in 4d7bba92eb62518e2273d030235214f4a7605444

Signed-off-by: Jesús <heckyel@hyperbola.info>
2020-12-28 11:43:57 -05:00
b9a3082e7c
pep8 2020-12-15 21:52:04 -05:00
James Taylor
fd253d9e07
Merge branch 'master' into optional_proxy_images 2020-10-12 09:37:13 -07:00
James Taylor
e182cf8283 playlist: Fix add-to-local-playlist form missing 2020-10-09 21:11:27 -07:00
zrose584
4f46e14ad0 fix style 2020-10-09 18:25:17 +02:00
zrose584
f8d9be2d5a settings.py: add 'proxy_images' 2020-10-07 19:28:52 +02:00
James Taylor
5554d5afff Add playlist sidebar for videos in playlist, including autoplay 2020-04-04 22:52:09 -07:00
James Taylor
f787e4e202 Give a proper error message for 429 errors
These occur when too many requests are coming from a Tor exit node.
Before, there would be an error page with an exception instructing users to report the issue.
But this is an expected and persistent issue.
2020-01-31 20:06:15 -08:00
James Taylor
d1d908d5b1 Extraction: Move html post processing stuff from yt_data_extract to util 2019-12-19 19:48:53 -08:00
James Taylor
f6bf5213a5 Extraction: rename multi_get functions to more descriptive names 2019-12-18 19:43:55 -08:00
James Taylor
98777ee825 Extraction: Rewrite item_extraction for better error handling and readability, rename extracted names for more consistency 2019-12-18 19:39:16 -08:00
James Taylor
dc6c370152 Extraction: refactor response extraction to work with both mobile & desktop respones, also improve errors 2019-09-19 11:06:34 -07:00
James Taylor
89e5761f8d Extraction: Move playlist extraction to yt_data_extract 2019-09-08 18:42:08 -07:00
James Taylor
1ce500b8a2 Regression: Fix error when playlist has no description 2019-08-15 16:30:05 -07:00
James Taylor
e00c3cf99f Remove ad-hoc response saving from code, create a debug setting for fetch_url 2019-07-23 23:57:45 -07:00
James Taylor
d105d4520f Convert playlist page to flask framework 2019-07-04 18:08:14 -07:00
James Taylor
b32330be4f refactor common.py into 3 files 2019-02-21 21:32:31 -08:00
James Taylor
a61ba6b8f4 playlist: fix error when there's no description 2019-02-16 15:21:39 -08:00
James Taylor
4d7bba92eb Use pbj format for playlist requests, ajax deprecated 2019-02-07 20:58:17 -08:00
James Taylor
36e0409db4 Add newline to end of files 2019-01-06 18:20:29 -08:00
James Taylor
bb2d40ac83 rename env['fields'] to env['parameters'] and rename fields to parameters in general 2019-01-06 01:33:52 -08:00
James Taylor
a57fc77426 WSGI for simple non-path GET pages 2019-01-05 00:20:39 -08:00
James Taylor
dd800485f0 add latency/readtime reporting for more things, round the numbers by reasonable amount 2018-10-01 18:01:05 -07:00
James Taylor
26620cbac8 front-end support for adding to playlists 2018-07-08 16:22:23 -07:00
James Taylor
25f3e2791c remove obsolete playlist code 2018-07-05 02:39:01 -07:00
James Taylor
dcdf02737a fix error when getting no content in channel response 2018-07-03 18:06:53 -07:00
James Taylor
79937c1c82 fix line endings 2018-07-02 17:45:25 -07:00
James Taylor
98157bf1bf initial commit 2018-06-30 23:34:46 -07:00