Benjamin Loison

Results 599 comments of Benjamin Loison

log.txt: ``` ... log.txt: ``` ... dataStr: { "kind": "youtube#videoListResponse", "etag": "NotImplemented", "items": [ { "kind": "youtube#video", "etag": "NotImplemented", "id": "Gdqpg6VYF3k", "short": { "http_response_header": { "0": "HTTP\/1.1 303 See Other",...

The Stack Overflow answers [75476455](https://stackoverflow.com/a/75476455) and [76602819](https://stackoverflow.com/a/76602819) seem the most promising. Related to #159.

DuckDuckGo and Google search *youtubeAnalytics Python*. https://developers.google.com/youtube/reporting/v1/code_samples/python https://developers.google.com/youtube/analytics/dimensions#channel Output: ```json { "error": { "code": 403, "message": "Forbidden", "errors": [ { "message": "Forbidden", "domain": "global", "reason": "forbidden" } ] } }...

Let us retrieve playlist items before whether the video is a short, that way if the latter does not work, while the former does, then there is room for improvement...

https://www.php.net/manual/en/language.operators.comparison.php#language.operators.comparison.ternary PHP script: ```php ``` ``` test ``` https://www.php.net/manual/en/function.substr.php

Shorts playlist most recent entry is not always at least the just published short. See https://matrix.to/#/!sNARMdEsFZERaQAJzl:matrix.org/$Sf0ZC8pIjwBy4XIwqX8XXOyHZ3nu-NX4oCKnN-Jpccs.

https://i.ytimg.com/vi/nnBuLOa5Gh8/maxresdefault.jpg https://i.ytimg.com/vi/0ZzEDIX4CZw/maxresdefault.jpg Related to [Improve_websites_thanks_to_open_source/issues/947](https://codeberg.org/Benjamin_Loison/Improve_websites_thanks_to_open_source/issues/947). ``` ffmpeg -i "$(yt-dlp -g 0ZzEDIX4CZw | head -n 1)" -vframes 1 | file - ``` Output: ``` ffmpeg version 6.1.1-3ubuntu5 Copyright (c) 2000-2023 the...

Without command execution: ```bash time curl -d '@input/input.xml' https://CENSORED/CENSORED/subscribe_callback.php ``` Output: ``` New YouTube video: [Palmashow](https://www.youtube.com/@Palmashow): [Les sauveteurs](https://www.youtube.com/watch?v=BJQbZAkDy-o) (1m4s) Unable to read notifications, investigate renewing credentials! real 0m1.051s user 0m0.029s...

Related to [Improve_websites_thanks_to_open_source/issues/1193](https://codeberg.org/Benjamin_Loison/Improve_websites_thanks_to_open_source/issues/1193).