-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat(Core): Youtube Video Upload Notifications. #2
Comments
You literally mean upload to youtube from discord attachments? Uploading requires API key and I don't think it's a good idea at all to let Skyra's production Google API Key have people upload videos. People could abuse it to upload gruesome content which can result in Skyra's Google account banned from all services. Maybe we should limit it to 10 minute videos and use Streamable instead, which uses basic auth and we can have a per-user or per-server config: https://streamable.com/documentation. I have streamable upload coded as a CURL request in my bash profile, this can easily be converted to Fetch: streamupload() {
code=$(curl --request POST --url https://api.streamable.com/upload --user $STREAMABLEUSER:$STREAMABLEPASSWORD --form file=@"$1" | jq '.shortcode' | perl -pe 's/"//g');
echo https://streamable.com/$code | pbcopy;
echo Added https://streamable.com/$code to your clipboard;
} |
No, YouTube live notifications. |
Ooh ok |
It's not live notifications @kyranet, but upload notifications. |
Just a suggestion, youtube exposes a rss feed for video uploads. i cant remember the source but you will probably find it if you google around |
Yea I know. Here is the link for reference https://developers.google.com/youtube/v3/guides/push_notifications |
unofficially official: I'm claiming this ETC: yes (probably a month considering suggested changes) |
Heres the PubSubHubBub spec for ya. |
Assigned this issue to @Stitch07 since he said it's easy to implement YouTube notifications. |
No description provided.
The text was updated successfully, but these errors were encountered: