Skip to content
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

Open
Quantumlyy opened this issue Dec 5, 2019 · 9 comments
Open

Feat(Core): Youtube Video Upload Notifications. #2

Quantumlyy opened this issue Dec 5, 2019 · 9 comments

Comments

@Quantumlyy
Copy link

No description provided.

@favna
Copy link
Member

favna commented Dec 5, 2019

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;
}

@kyranet
Copy link
Member

kyranet commented Dec 5, 2019

No, YouTube live notifications.

@favna
Copy link
Member

favna commented Dec 5, 2019

Ooh ok

@favna favna changed the title Feat(Core): Youtube Uploads. Feat(Core): Youtube Video / Livestream Notifications. Dec 5, 2019
@Quantumlyy
Copy link
Author

It's not live notifications @kyranet, but upload notifications.

@Quantumlyy Quantumlyy changed the title Feat(Core): Youtube Video / Livestream Notifications. Feat(Core): Youtube Video Upload Notifications. Dec 5, 2019
@MrJacz
Copy link

MrJacz commented Jan 14, 2020

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

@Quantumlyy
Copy link
Author

Yea I know. Here is the link for reference https://developers.google.com/youtube/v3/guides/push_notifications

@cfanoulis
Copy link

unofficially official: I'm claiming this

ETC: yes (probably a month considering suggested changes)

@Quantumlyy
Copy link
Author

Heres the PubSubHubBub spec for ya.

@kyranet
Copy link
Member

kyranet commented Apr 12, 2021

Assigned this issue to @Stitch07 since he said it's easy to implement YouTube notifications.

@Stitch07 Stitch07 removed their assignment Apr 14, 2021
@kyranet kyranet transferred this issue from skyra-project/skyra Feb 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants