!yAXokUArOJxHEACeib:pussthecat.org

Invidious

653 Members
https://invidious.io/ | Instances: https://instances.invidious.io/ | Documentation: https://docs.invidious.io | SourceCode: https://git.invidious.io | Instances API: https://api.invidious.io/ | ToDo: https://todo.invidious.io/ | Bridged to #invidious on Libera.Chat134 Servers

Load older messages


SenderMessageTime
4 Apr 2024
@unixfox:matrix.orgunixfoxIf you have ipv4 and ipv6 connectivity you may not use the same IP08:37:52
@wardpearce:matrix.orgWardappears to be the same IP08:42:34
@nohtyp:matrix.orgnohtypAnyone here have quadlet configuration files?08:44:26
@wardpearce:matrix.orgWard
In reply to @wardpearce:matrix.org
appears to be the same IP
just disabled IPv6 on my PC
08:48:13
@wardpearce:matrix.orgWardjust tried 6 other Invidious instances not hosted by me with the same result, audio adaptiveStreams work fine but not video08:51:36
@heterochromia420:tchncs.de@heterochromia420:tchncs.de changed their profile picture.09:00:12
@absidue:matrix.orgabsidue
In reply to @wardpearce:matrix.org
sent an image.
The URL in this screenshot has each query parameter duplicated, that's not normal, try removing the duplicated parameters and see if it works then.
09:03:44
@wardpearce:matrix.orgWardodd that came directly from the API09:04:20
@absidue:matrix.orgabsidue
In reply to @wardpearce:matrix.org
odd that came directly from the API
so you changed nothing about the URL?
09:05:01
@absidue:matrix.orgabsidueNot getting the duplicated URL parameters for the few public instances I've tried and streaming works fine for those.09:05:34
@wardpearce:matrix.orgWardis local=true?09:05:46
@absidue:matrix.orgabsiduejust tried a different instance and got duplicated ones09:10:03
@wardpearce:matrix.orgWardodd09:10:37
@absidue:matrix.orgabsiduebut not in the same way as in your screenshot, in the raw API response, it's a literal copy including the question mark, but it looks like the browser rearranges them when making the request09:10:41
@heterochromia420:tchncs.de@heterochromia420:tchncs.de changed their profile picture.09:10:57
@absidue:matrix.orgabsidue Ward It's not the proxy that is broken (if you remove the duplicate parameters, the 403 goes away), it's the API response. 09:13:38
@wardpearce:matrix.orgWardaah odd, wonder why its duplicating parameters on some instances09:14:02
@absidue:matrix.orgabsidue
In reply to @wardpearce:matrix.org
aah odd, wonder why its duplicating parameters on some instances

because of the code here: https://github.com/iv-org/invidious/blob/master/src/invidious/http_server/utils.cr#L16-L19

.request_target includes the query parameters and then the code appends the query parameters to the end of that

simplified example:
https://play.crystal-lang.org/#/r/gn8v

to quote the docs:

Returns the concatenation of #path and #query as it would be used as a request target in an HTTP request.

https://crystal-lang.org/api/1.11.2/URI.html#request_target%3AString-instance-method

09:23:33
@wardpearce:matrix.orgWardaaaahh09:24:45
@absidue:matrix.orgabsidue would probably be better to use update_query_params:
https://crystal-lang.org/api/1.11.2/URI.html#update_query_params%28%26%3AURI%3A%3AParams-%3E_%29%3AURI-instance-method
09:26:56
@absidue:matrix.orgabsidueor not, looks like Invidious' CI tests all the way down to Crystal 1.7.3 but that method was introduced in 1.9.0, there is probably another way of doing it without that method09:29:41
@wardpearce:matrix.orgWardyea hopefully09:43:47
@marioyd:matrix.yourdevice.ch@marioyd:matrix.yourdevice.ch hello guys, my invidious instance is quiet unhealthy recently. gettings loads of:
2024-04-04 10:05:05 UTC [info] 500 GET /api/v1/comments/jNQXAC9IVRw 321.78ms
recently.. I guess this has something to do on that youtube has done some comment function changes?
10:09:34
@marioyd:matrix.yourdevice.ch@marioyd:matrix.yourdevice.chwhat can i do about this?10:09:39
@patrick:matrix.techniverse.net@patrick:matrix.techniverse.net left the room.11:21:22
@fijxu:zzls.xyz@fijxu:zzls.xyz
In reply to @marioyd:matrix.yourdevice.ch
hello guys, my invidious instance is quiet unhealthy recently. gettings loads of:
2024-04-04 10:05:05 UTC [info] 500 GET /api/v1/comments/jNQXAC9IVRw 321.78ms
recently.. I guess this has something to do on that youtube has done some comment function changes?
It's a known bug
12:29:05
@fijxu:zzls.xyz@fijxu:zzls.xyz You can't so anything, just wait 12:29:16
@fijxu:zzls.xyz@fijxu:zzls.xyzOr you can fix it yourself if you know Crystal and how to scrape YouTube api12:29:52
@fijxu:zzls.xyz@fijxu:zzls.xyz * You can't do anything, just wait 12:30:04
@Celmor:matrix.orgCelmorI'm trying to play through a playlist randomly but using the website I can only start from from a specific video and let it auto-continue. if I use RSS I can only the top 100 entries.12:41:22

Show newer messages


Back to Room ListRoom Version: 7