Samantaz Fox
7c1d2714e0
Comments: Add support for new format ( #4576 )
...
The new comment format is similar to the description's commandRuns.
This should fix the issues with most comments but there are still
some more changes that would need to be made like adding support for
formatting (bold, italic, underline) and channel emojis.
Fixes issue 4566
2024-04-26 23:48:15 +02:00
Samantaz Fox
bcb679e653
Proxy: Handle non-200 HTTP codes on DASH manifests ( #4429 )
...
Before this PR, Invidious assumed that fetching the DASH manifest from
YouTube will always be successful and didn't check the status code.
That meant that if YouTube gave a rate-limiting page, invidious would
return an HTTP 200 response with the 'application/dash+xml' Content-Type
header and the YouTube ratelimiting page as the body.
No associated issue
2024-04-26 23:25:54 +02:00
ChunkyProgrammer
c27bb90e4d
Add support for new comment format
2024-04-10 18:21:53 -04:00
ChunkyProgrammer
0aaa3e6a08
API: Parse channel's tags
2024-03-11 13:31:14 -04:00
Samantaz Fox
dcbe52c9fb
Videos: Use start time and end time for clips ( #4264 )
...
This PR parses the start and end time for clips.
It also adds a new, dedicated API endpoint (`/api/v1/clips/{id}`) for
retrieving the start and end time of a clip.
Here is a sample response from that new endpoint (`video` is a video object,
as described in https://docs.invidious.io/api/common_types/#videoobject ):
GET `/api/v1/clips/UgkxxPM3BRphCAPLP88YoUGuj79KXPfpNNO_?pretty=1`
Response:
```
{
"startTime": 8842.645,
"endTime": 8855.856,
"clipTitle": "✂️ Kirby is pink!",
"video": {}
}
```
Closes issue 3921
2024-02-12 22:10:16 +01:00
Samantaz Fox
bd5df3af5f
API: Unescape search suggestions ( #4218 )
...
Previously, the suggestion were HTML encoded. This PR fixes that.
2024-02-12 22:03:33 +01:00
Samantaz Fox
9bd2072e1d
API: Add playlist and start time to resolve_url
...
This adds `playlistId` and `startTimeSeconds` to /api/v1/resolveurl if these
informations were returned by Youtube's endpoint.
2024-02-12 22:01:08 +01:00
absidue
72bcd3cc72
Handle non-200 status codes for YouTube DASH manifests
2024-02-12 18:55:15 +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
b40cf6544a
Revert "Make head request to resolve short urls"
...
This reverts commit 7e267da5be .
2023-11-19 16:06:29 -05: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
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