summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2024-02-12API: Remove the fields parameter (#4276)Samantaz Fox
Multiple users have reported that the fields parameter is slowing down API response times significantly. As most API endpoints are already optimized to make as few requests as possible to Youtube, there is no point in limiting the output. Furthermore, the added processing might be part of the broader memory leak problem (See 1438). In addition, the small increase in data output is not much of an issue compared to the huge video proxy that lies next to this API. No related issue tracked
2024-02-12Videos: Use start time and end time for clips (#4264)Samantaz Fox
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-12API: Unescape search suggestions (#4218)Samantaz Fox
Previously, the suggestion were HTML encoded. This PR fixes that.
2024-02-12API: Add playlist and start time to resolve_urlSamantaz Fox
This adds `playlistId` and `startTimeSeconds` to /api/v1/resolveurl if these informations were returned by Youtube's endpoint.
2024-02-12Extractors: Don't error if AuthorId does not exist (#3869)Samantaz Fox
Some playlist author's don't have a YouTube channel, so does movies. This caused various extractors (related videos, search) to fail. Closes the following issues: 2530, 3349, 3766, 3812, 4133
2024-02-08Fix when video from pubsub is a scheduled eventshironeko
2024-02-08Fix pubsub feed parsingshironeko
similar to what's done in #3793, this is causing an assert on my instance
2024-01-29fix: prevent censoring of self-harm related search queries (#4403)ThetaDev
* fix: prevent censoring of self-harm related search queries * fix: yt_filters_spec with new flag
2024-01-10Add parameter to disable `force_resolve` in `make_client` (#4335)syeopite
* Add option to disable force_resolve in make_client Some websites such as archive.org and textcaptcha.com does not support IPv6 and as such requests fail when Invidious requests with IPv6 to those services. * Reenable force_resolve on pubsub subcribe request * Make force_resolve false by default in make_client * Remove missed explicit force_resolve=false
2023-12-26add null safety to clip parsingChunkyProgrammer
2023-12-19fix potential memory leakChunkyProgrammer
2023-12-07fix related video author when id is emptyChunkyProgrammer
2023-12-07Search: Don't error if AuthorId does not existChunky programmer
2023-12-07Add API endpoint for ClipsChunkyProgrammer
2023-12-07use start time and endtime for clipsChunkyProgrammer
2023-12-07Unescape search suggestionsChunkyProgrammer
2023-12-06Remove anti-captcha (#4277)Samantaz Fox
2023-12-06Misc: Fix logic for setting user agent (#4265)Samantaz Fox
2023-12-06Misc: Use #splat method for macro expressions (#4242)Samantaz Fox
2023-12-06Videos: Append '&mpd_version=5' to DASH manifest URL (#4196)Samantaz Fox
2023-11-23Helpers: remove JSONFilter logicSamantaz Fox
2023-11-23Kemal: remove APIHandler middlewareSamantaz Fox
2023-11-20Remove leftover functions/specs used by the anti-captcha jobSamantaz Fox
2023-11-20Config: Remove anti-captcha related configsSamantaz Fox
2023-11-20Jobs: Remove BypassCaptchaJobSamantaz Fox
2023-11-19Revert "Make head request to resolve short urls"Brahim Hadriche
This reverts commit 7e267da5beef5981b6db40e7b20f23f5dbd81136.
2023-11-17add user_agent if empty or crystalChunkyProgrammer
2023-11-15Fix logic for setting user agentChunkyProgrammer
2023-11-08Replace more * in macro with #splatsyeopite
2023-11-08Remove instance of the * operator in macro exprsyeopite
2023-11-08Use #splat method for macro expressionssyeopite
2023-11-07Fetch channel info from home tab instead of aboutsyeopite
2023-11-07Update params protobuf for channel about tabsyeopite
2023-11-04Add playback success rate to `/api/v1/stats` (#4085)syeopite
* 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-02force resolve for everything (#4225)Émilien (perso)
2023-10-26formatBrahim Hadriche
2023-10-26Make head request to resolve short urlsBrahim Hadriche
2023-10-26type fixBrahim Hadriche
2023-10-26Add playlist and start time to the resolve urlBrahim Hadriche
2023-10-22Videos: Append '&mpd_version=5' to DASH manifest URLSamantaz Fox
This makes Youtube return a MPD manifest with templates rather than lengthy <SegmentList>. The returned manifest is about 44 times smaller.
2023-10-21User: Add support for importing Youtube watch history (#4171)Samantaz Fox
2023-10-21CSS: Remove inline styling of the download widget (#4162)Samantaz Fox
2023-10-21Captions: Use 'fmt=vtt' instead of 'format=vtt' (#4152)Samantaz Fox
2023-10-21API: Add "authorVerified" to the video endpoint (#4150)Samantaz Fox
2023-10-21Frontend: Add video timestamp on external links (#4101)Samantaz Fox
2023-10-21User: Fix importing FreeTube subscriptions with multiple profiles (#4011)Samantaz Fox
2023-10-20remove a debug statementUlysses Zhan
2023-10-20update params for fetching stream data (#4156)Émilien (perso)
* update params for fetching stream data * Remove link about special parameter
2023-10-17move styles for download widget to default.css filejt404
2023-10-16Fix importing FreeTube subscriptions with multiple profilesChunkyProgrammer
Co-Authored-By: Samantaz Fox <coding@samantaz.fr>