Commit Graph

163 Commits

Author SHA1 Message Date
Mateusz Bączek
70754659e5 Move if CONFIG.statistics_enabled into the handler for the /metrics route 2024-01-23 21:30:31 +01:00
wint3rmute
8d4c16c79c Moved from misused constants to class variables in MetricsCollector, MetricsCollector is no longer initialized as a singleton 2024-01-23 21:30:31 +01:00
wint3rmute
27dd94f60d Collecting num of requests and handling time from each Kemal route 2024-01-23 21:30:31 +01:00
wint3rmute
4d410d124f Add prometheus metrics at /api/v1/metrics 2024-01-23 21:28:46 +01:00
ChunkyProgrammer
090b470bfc fix potential memory leak 2023-12-19 23:07:18 -05:00
ChunkyProgrammer
b344d98c25 Add API endpoint for Clips 2023-12-07 09:39:04 -05:00
ChunkyProgrammer
6488794218 Unescape search suggestions 2023-12-07 09:36:59 -05:00
Brahim Hadriche
1363fb8094 Fix error code for disabled popular endpoint 2023-11-28 21:34:17 -05:00
Brahim Hadriche
b40cf6544a Revert "Make head request to resolve short urls"
This reverts commit 7e267da5be.
2023-11-19 16:06:29 -05:00
karelrooted
c251c66748 fix youtube api vtt format subtitle
for fmt=vtt to work the fmt parameter in the original caption api url need to be replaced
2023-11-14 13:16:08 +08:00
syeopite
438467f69a Add playback success rate to /api/v1/stats (#4085)
* Add stats-based /videoplayback blockage status

* Count when YouTube returns wrong video as failure

* Cast playback stats hash type prior to return

* Bump stats refresh timer to 10 minutes
2023-11-04 13:52:30 +00:00
src-tinkerer
b0df3774db Add sort options to streams 2023-11-01 21:56:25 +03:30
Brahim Hadriche
3881038a32 format 2023-10-26 17:51:38 -04:00
Brahim Hadriche
7e267da5be Make head request to resolve short urls 2023-10-26 17:48:58 -04:00
Brahim Hadriche
d7901c1e0d type fix 2023-10-26 17:35:52 -04:00
Brahim Hadriche
85a5bbd696 Add playlist and start time to the resolve url 2023-10-26 17:24:53 -04:00
Samantaz Fox
0aebac5f3e Captions: Use 'fmt=vtt' instead of 'format=vtt' 2023-10-08 12:40:49 +02:00
Samantaz Fox
60fae015d8 Add support for community post page/comments (#4010) 2023-10-07 19:58:54 +02:00
ChunkyProgrammer
4f25069f55 remove unused variable
simplify resolve url

remove trailing spaces

Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-09-27 17:36:06 -04:00
syeopite
d371eb50f2 WebVTT::Builder: rename #line to #cue 2023-09-23 09:41:41 -04:00
syeopite
0cb7d0b441 Refactor Invidious's VTT logic to use WebVtt.build 2023-09-23 09:40:04 -04:00
ChunkyProgrammer
bb04bcc42c Apply suggestions from code review
add videoId to resolve_url function

Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-09-18 20:10:41 -04:00
ChunkyProgrammer
734f1b7764 Simplify resolveUrl api call
Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-09-18 20:10:41 -04:00
ChunkyProgrammer
e3c365f3d6 Add support for post page 2023-09-18 20:10:41 -04:00
syeopite
3509752b79 Rename transcript() to get_transcript() in YT API 2023-07-23 16:52:47 -07:00
syeopite
e4942b188f Integrate transcript captions into captions API 2023-07-23 14:40:09 -07:00
ChunkyProgrammer
f2fa3da9d2 Add support for releases and podcasts tabs 2023-07-14 16:15:20 -07:00
Samantaz Fox
b06c87ff8d User: Remove broken Google login (various comments) 2023-06-11 16:34:59 +02:00
Samantaz Fox
df85265453 Comments: Move link utility functions to own file + module 2023-05-25 22:53:53 +02:00
Samantaz Fox
de78848039 Comments: Move 'template_reddit' function to own file + module 2023-05-25 22:53:53 +02:00
Samantaz Fox
634e913da9 Comments: Move 'fetch_reddit' function to own file + module 2023-05-25 22:53:53 +02:00
Samantaz Fox
1b25737b01 Comments: Move 'fetch_youtube' function to own file + module 2023-05-25 22:53:53 +02:00
chunky programmer
d728599251 add page parameter 2023-05-14 15:58:15 -04:00
ChunkyProgrammer
d6fb5c03b7 add hashtag endpoint 2023-05-14 15:58:14 -04:00
Brahim Hadriche
0b17f68eba Fix input validation 2023-03-07 13:50:02 -05:00
Brahim Hadriche
a5cc66e060 Fix id check 2023-03-02 16:11:50 -05:00
Brahim Hadriche
38f6d08be6 Validate id, avoid db call if not needed 2023-03-02 14:47:14 -05:00
Brahim Hadriche
8c0efb3ea9 validate video id 2023-03-02 14:45:26 -05:00
Brahim Hadriche
27bf4d02a1 PR nursing 2023-03-01 22:08:19 -05:00
Brahim Hadriche
15e9510ab2 Check preferences before marking video as watched 2023-02-20 16:43:36 -05:00
Brahim Hadriche
7b124eec64 Add History API 2023-02-20 16:27:16 -05:00
Samantaz Fox
ba217c9174 API: Add endpoints for import/export (#3617) 2023-02-19 14:39:56 +01:00
Samantaz Fox
217b740e01 API: Add endpoint to resolve youtube urls (#3612) 2023-02-19 14:39:47 +01:00
ChunkyProgrammer
97825be10c add missing authorVerified to api 2023-02-07 21:52:53 -05:00
Brahim Hadriche
2606decd21 Refactor export function 2023-02-05 15:00:11 -05:00
Brahim Hadriche
b2589c74be Add API for import/export 2023-02-02 19:14:02 -05:00
ChunkyProgrammer
c162c7ff3f add pageType 2023-02-02 18:20:14 -05:00
ChunkyProgrammer
bf5175d1e9 Feat: Add api endpoint to resolve youtube urls 2023-02-02 12:41:13 -05:00
Samantaz Fox
624425cfa8 Add support for timedtext captions (#3533) 2023-01-22 18:34:40 +01:00
DUO Labs
67ace4fd9d Some indention changes
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-01-16 18:50:38 -05:00