-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add other oembed providers #68
Comments
it appears that oembed resources are discoverable by doing something like oembed = soup.find_all('link', rel=['alt', 'alternate', 'alternative'], type=['application/json+oembed', 'application/xml+oembed'])
oembed_json = requests.get(oembed[0].get('href'))
#returns oembed json or xml this might be a good place to start |
Hm, I was unaware of that. I have implemented youtube oembed in this pull request if you want to take a stab at adding any others! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: