coleifer / micawber

a small library for extracting rich content from urls
http://micawber.readthedocs.org/
MIT License
635 stars 91 forks source link

Return HTTPS for YouTube #28

Closed eshagh closed 10 years ago

eshagh commented 10 years ago

The YouTube oembed API returns embeds using http unless the scheme query string parameter is set to https. This change returns an https embed if an https video is passed in. Otherwise, YouTube embeds on sites delivered over https fail.