Benjamin Loison
Benjamin Loison
Personal note: ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAVxbfJ7TNWrKToAg/pEM2YuGk+1/7+wrD1C5ngwnB13Aw LtJxuvUna81axKyia6pVU6B2rC9w27yoACnU0NtUQEnQWTA90Ccc5UzrNTGwzDhW 0pQBL9D2D9vJeoeuJe3OtnXh38fK7dg2+oOeAzh9bbku8EILFq1WJ05ZkAnr+sTK sgrG4huf5NEqp+/3vITtyZlgkr8dd/UQRrz59nBM+FcMNOIleiYtPIxkPsKe52hA 96hKM1IVTd8AadsoKry/n8CaNF4hsgt5qxHkGp3v2J1PDoXQZGbbclK3qOayzFuu MiEq0/yX =jRcL -----END PGP MESSAGE----- ```
I checked and this instance is on Ubuntu 24 not Debian 12.
Related to #26 and #330.
[YouTube video: bvG2xqIvdLg](https://www.youtube.com/watch?v=bvG2xqIvdLg) (source: https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$hCXGPPKpl96BEC099MRKDvTnyPJzuF_3LP0w58leG8w) is a short, not confuse with [YouTube video: yjHWvfwfBxU](https://www.youtube.com/watch?v=yjHWvfwfBxU) (source: https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$fXXhUeNKA0DY3Nl_AIpSD1ln8mNJY6zi-0bfv-RUSu0). log.txt: ``` ... dataStr: { "kind": "youtube#videoListResponse", "etag": "NotImplemented", "items": [ { "kind": "youtube#video",...
https://github.com/Benjamin-Loison/YouTube-operational-API/blob/0d2768a5fcf560288eb3a9fa573056bdd5dba3d2/videos.php#L174
https://github.com/Benjamin-Loison/YouTube-operational-API/blob/0d2768a5fcf560288eb3a9fa573056bdd5dba3d2/common.php#L88-L102
```bash grep -rn 'follow_location' ``` ``` common.php:102: 'follow_location' => false, ```
```bash curl -k 'https://youtube.local/videos?part=short&id=bvG2xqIvdLg' ``` Output: ```json { "kind": "youtube#videoListResponse", "etag": "NotImplemented", "items": [ { "kind": "youtube#video", "etag": "NotImplemented", "id": "bvG2xqIvdLg", "short": { "http_response_header": { "0": "HTTP\/1.1 200 OK", "Content-Type":...
diff: ```diff diff --git a/common.php b/common.php index ac3a4ce..9100827 100644 --- a/common.php +++ b/common.php @@ -85,7 +85,16 @@ return [$result, $http_response_header]; } - function isRedirection($url) + function isRedirectionFromHeaders($http_response_header) + { +...
So now let us wait the issue to happen again.