Commit Graph

36 Commits

Author SHA1 Message Date
ChunkyProgrammer b344d98c25 Add API endpoint for Clips 2023-12-07 09:39:04 -05:00
Samantaz Fox 0aebac5f3e
Captions: Use 'fmt=vtt' instead of 'format=vtt' 2023-10-08 12:40:49 +02: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
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
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
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
Samantaz Fox 1af846e58c
API: make /api/v1/videos respect the 'local' parameter 2023-01-15 17:18:34 +01:00
DUOLabs333 4b2d942024 Convert tabs to spaces 2023-01-11 15:58:07 -05:00
DUOLabs333 32471382c4 Different cosmetic fixes 2023-01-08 16:18:35 -05:00
DUOLabs333 9d83e2da4e Add newline 2023-01-03 10:29:17 -05:00
DUOLabs333 45b8f6d0cd More linting 2023-01-03 10:25:05 -05:00
DUOLabs333 8df1c3bb57 Add support for timedtext captions 2023-01-03 10:17:47 -05:00
Samantaz Fox d659a451d6
videos: remove unused 'VideoRedirect' exception 2022-10-31 20:09:04 +01:00
Samantaz Fox 87a5d70062
videos: move API's JSON structure to a dedicated module 2022-10-31 20:09:04 +01:00
Émilien Devos c201ea53ba Add 404 status code on all possible endpoints 2022-05-27 14:06:38 +00:00
Samantaz Fox 575b039170
Merge pull request #2922 from SamantazFox/download-widget-fix
Download widget fix
2022-02-24 22:53:06 +01:00
Samantaz Fox 2f335b3d2c
Use a dedicated endpoind for downloads
This allows us to not pass file name ("title") in the form
data and to enforce some sanity checks
2022-02-23 13:00:30 +01:00
Samantaz Fox b58b0440d6
Fix captions regex 2022-02-22 19:44:41 +01:00
Samantaz Fox d12dff9dcf
Use a regex to fix badly aligned captions 2022-02-07 22:18:24 +01:00
Samantaz Fox 1c91110464
Fix some 'Lint/ShadowingOuterLocalVar' warnings reported by ameba 2022-01-28 02:19:53 +01:00
Samantaz Fox 4cd7a3e83f
Remove useless 'locale = env.get...' from many routes 2022-01-28 02:19:53 +01:00
matthewmcgarvey b2a738cf13 Fix loading reddit comments when there are no threads found 2022-01-17 12:11:47 -06:00
Samantaz Fox d74873fed1
Clean useless database arguments (4/5) 2022-01-04 17:15:43 +01:00
Samantaz Fox 914cfbd953
Move DB queries related to 'annotations' in a separate module 2022-01-04 17:15:43 +01:00
Samantaz Fox 139786b9ef
i18n: pass only the ISO code string to 'translate()'
Don't use the whole Hash everywhere.
Also fall back nicely to english string if no translation exists.
2021-11-21 01:50:11 +01:00
Samantaz Fox 33780f1995
Also fix 'to_json' in struct Video 2021-10-29 16:26:35 +02:00
syeopite 35d15c7c2b
Fix Style/VariableNames issues 2021-10-25 01:12:26 -07:00
syeopite 66b45a8fe2
Bountiful changes
- Use haltf in more locations
 - Fix wrong URL params
 - Rename API modules
 - Remove API routing file and move everything to general iv routing
   file
2021-08-23 16:28:30 -07:00
syeopite b3426fdc94
Restructure API routes to use more namespaces 2021-08-14 00:18:25 -07:00
syeopite 6aa65593ef
Extract API routes from invidious.cr (2/?)
- Video playback endpoints
- Search feed api
- Video info api
2021-08-14 00:18:24 -07:00