Commit Graph

29 Commits

Author SHA1 Message Date
32c563a45a fix: ensure clen is a string
fixes clipious playback
2025-06-29 14:28:43 +02:00
3ea3558990 fix: retrieve itag 18 even if it's in https protocol 2025-06-28 20:52:38 +02:00
6cdae051b5 fix: make clipious and freetube work by adding some made-up metadata
for the most part ok, but there are some (music) videos which won't work
2025-06-28 05:56:05 +02:00
4e066e4b23 fix: rebuild formats from yt-dlp data
makes yattee and freetube work
2025-06-27 23:02:57 +02:00
837567f8c8 hotfix: add colors to ythdd_api debug trace 2025-06-20 23:29:56 +02:00
99e914557a fix: backport fixes from a sister project 2025-06-20 23:23:00 +02:00
06679ee165 hotfix: rely (more) on yt-dlp for extraction (part 1/2)
adaptiveFormats and hlsUrl need to be fixed (or maybe replaced by DASH?)
2025-02-28 01:02:05 +01:00
dbc90d3f74 update extractor headers, add support for checking badges and avatars 2025-02-28 00:57:40 +01:00
d1b9f90e7e add support for GUC proxy, move safeTraverse to ythdd_globals 2025-02-28 00:56:13 +01:00
019e47edd9 revert addition of second audio-only formatStream, which breaks Clipious 2025-01-18 03:47:36 +01:00
8fa05486f1 print errors, provide an additional audio-only formatStream 2025-01-18 01:45:43 +01:00
71a24a4870 check if the format with best bitrate is a video 2025-01-08 14:58:04 +01:00
2837cdf612 make FreeTube work (by using video only streams), fix livestream dates 2024-12-29 04:59:46 +01:00
ee31114e51 add owner badges for related videos, use short text for text view count 2024-12-28 06:33:39 +01:00
dd102cb6ae introduce related videos, small fixes to invidious translation layer 2024-12-28 04:53:37 +01:00
3a524d96a0 Update README.md
provide instructions on how to run the script,
current goals, and a short description
2024-12-27 02:23:55 +01:00
3212627d89 introduce a bare-bones invidious API translation layer
also rewritten ythdd_api.py a tiny bit
2024-12-26 20:38:33 +01:00
0099736a74 new iOS/web extractors, image proxying done by views.py
- ythdd_globals.py - added helper function to get user-configured header
- ythdd.py - now checks for config.toml in work directory
- requirements.txt - add brotli, so that requests can decompress
innertube request
2024-12-26 20:15:45 +01:00
1e4b05c33b major rework of ythdd.py, new method for setting config in ythdd_globals.py
- slightly modified config, api keys now have the value "CHANGEME"
- requirements.txt has new dependency, flask apscheduler
- ythdd.py has been reworked, support for argument parsing has been added, code is now split into functions
- ythdd_api_v1.py features real uptime as well
- ythdd_db.py is no longer dependent on ythdd_globals.py
- ythdd_globals.py has a method for setting config and getting it from configfile variable
2024-12-12 11:02:11 +01:00
c60f7db698 introduced: requirements.txt, colored output (with ANSI escape codes), baked in failsafe when config file does not exist, slight improvements to ythdd.py 2024-11-02 01:21:06 +01:00
1fb14a5718 delete ythdd_v.py
ythdd_globals.py stores version info now
2024-10-31 01:39:21 +01:00
9aea3b2e55 added comments to v1 api, introduced failsafe for videos without related video feed (e.g. age restricted videos) 2024-10-31 01:35:53 +01:00
c6734c3d99 introduced support for cookies.txt file and user-agent 2024-10-29 15:02:42 +01:00
79da502944 Merge branch 'master' of https://gitea.7o7.cx/sherl/ythdd 2024-09-26 14:43:11 +02:00
24209a20a8 new boilerplate extractor for related videos 2024-09-26 14:42:06 +02:00
2524ca6e94 delete dummy json file 2024-09-25 14:45:06 +02:00
43c7b7c213 new module "ythdd_db.py" handles database connections now. minor improvements to ythdd.py 2024-09-25 14:24:51 +02:00
szakal
09b883c9eb commit files 2024-09-25 12:22:14 +02:00
61266427c6 Initial commit 2024-09-25 12:14:39 +02:00