Open Benjamin-Loison opened 3 days ago
Could consider to some extent closing some no-key service related issues.
We can keep no-key service related stuff as it can help rotate between regular project one and one with increase quota even if it is less useless which is maybe authorized by YouTube. Otherwise it can be helpful for people having multiple keys from different regular projects but this may not be authorized, see https://discord.com/channels/933841502155706418/933841503103627316/1231169992167526440 or even leaked ones.
To make ANY request WITHOUT ANY KEY/USING YOUR QUOTA, you can use:
-For instance you can use: instead of
-I may add in the future limitation per IP etc if the quota need to be better shared among the persons using this API.
- -Currently this service is powered by keys.
- - - -Share your YouTube Data API v3 key to power the no-key service: > -As https://discord.com/channels/933841502155706418/933841503103627316/1294448943739961514 mentions using multiple instances.
If everyone was fine with that removing https://yt.lemnoslife.com for just keeping the repository seems to make sense. Well .htaccess
is still necessary for redirections. So instead of removing if everyone was fine with that could set a homepage redirecting the repository etc like https://ytdl-org.github.io/youtube-dl/.
curl -I https://yt.lemnoslife.com/matrix
helps.
I may would like to have a clever documentation generation to avoid committing with git an expanded algorithm result. Maybe GitHub page is an interesting alternative.
Should automate Oracle account creation with Online authentication API, then automate instance creation and setting up YouTube operational API instance.
IPv4=XXX.XXX.XXX.XXX
ssh ubuntu@$IPv4
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt dist-upgrade -y
sudo apt install -y apache2 php git
sudo a2enmod rewrite headers
# Replace `AllowOverride None` with `AllowOverride All` in `<Directory /var/www/>` in `/etc/apache2/apache2.conf`.
# Is not reload, enough?
sudo service apache2 restart
sudo chown -R www-data: /var/www/
sudo apt install -y composer protobuf-compiler
sudo su -l www-data -s /bin/bash
cd html/
rm index.html
git clone https://github.com/Benjamin-Loison/YouTube-operational-API .
composer require google/protobuf
protoc --php_out=proto/php/ --proto_path=proto/prototypes/ $(find proto/prototypes/ -type f)
The Server Fault answer 200658 or/and https://cloud.oracle.com/networking/vcns/ocid1.vcn.oc1.eu-marseille-1.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/security-lists/ocid1.securitylist.oc1.eu-marseille-1.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX?region=eu-marseille-1 are necessary to make curl http://XXX.XXX.XXX.XXX
work fine.
Related to Benjamin_Loison/certbot/issues/4.
curl -s http://$IPv4 | grep 'This instance'
curl -s http://$IPv4/channels?handle=@MrBeast | jq .items[0].id
<br/><br/>This instance (my instance) uses version: <a href="https://github.com/Benjamin-Loison/YouTube-operational-API/commit/7e5798628d8a547199b18d91d9bbfd7006d16866
"UCX6OQ3DkcsbYNE6H8uQQuVA"
curl -s https://www.youtube.com | grep -Po 'AIzaSy[A-D][a-zA-Z0-9-_]{32}' | uniq
for line in `curl -s https://www.youtube.com | grep -Po 'AIzaSy[A-D][a-zA-Z0-9-_]{32}' | uniq`
do
#echo "|$line|"
echo $line
curl "https://www.googleapis.com/youtube/v3/search?q=test&key=$line"
done
So maybe with the right referrer AIzaSyDZNkyC-AtROwMBpLfevIvqYk-Gfi8ZOeo
would be interesting.
DuckDuckGo and Google search "AIzaSyDZNkyC-AtROwMBpLfevIvqYk-Gfi8ZOeo"
does not help.
node-ytpl/blob/ab62ca013de11b7a36ab159802c6fae15f00a477/test/pages/privatepage.html#L18 and similar results do not seem relevant.
https://www.joesandbox.com/analysis/1351525/1/html may be interesting.
Should consider backing up mentioned in https://discord.com/channels/933841502155706418/933841503103627316/1283796566632562760.
Should consider potential unlimited quota, see https://discord.com/channels/933841502155706418/933841503103627316/1294441540156002315.
Related to #18.
Investigate https://www.futo.org notably https://chat.futo.org (source: https://discord.com/channels/933841502155706418/933841503103627316/1294426983962513570).
#11#issuecomment-1325539722 specifies what account maybe to not use to act for the moment at least as a regular user.
Let us delete redundant projects on my main Google account using YouTube Data API v3, as it may be against ToS and 10,000 should be enough quota for my personal usage.
Related to Benjamin_Loison/youtube_push_notifications/issues/13.
See https://yt.lemnoslife.com.