Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Youtube api update #70

Closed
wants to merge 2 commits into from
Closed

Conversation

frizinak
Copy link
Contributor

Seems like youtube is migrating ?signature= to ?sig=, a bunch of videos are returning 403's for all formats while others work perfectly fine.

Changing the param to sig fixed the 403's and didn't break the ones that worked with signature.

I'm not sure about all of this, so... yeah.

query param 'signature' > 'sig'
@fent
Copy link

fent commented Jun 19, 2019

maybe it's related to this recent ytdl-core commit: fent/node-ytdl-core@1f79df3

I wish we could all merge our various yt libraries into some universal language and then compile it to the other languages. but until then...

@frizinak
Copy link
Contributor Author

Thanks for chiming in! Fix added.

SogoCZE added a commit to SogoCZE/ytdl that referenced this pull request Jul 6, 2019
@danackerson danackerson mentioned this pull request Jul 21, 2019
if v, ok := format.meta["sp"].(string); ok && v != "" {
sigParam = v
}

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a nit-pick, but @rylio only rarely uses blank lines within functions. I feel like it doesn't belong here. Do with this comment as you please.

@VivaLaPanda
Copy link

I've tested this and am using it in one of my apps 👍

@corny
Copy link
Collaborator

corny commented Dec 10, 2019

This has been fixed in the current master.

@corny corny closed this Dec 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants