Update Mixcloud oembed pattern, add https support.

As per docs at
  https://www.mixcloud.com/developers/#embedding
pull/2561/merge
Alice Rose 2017-05-09 15:50:17 +02:00 zatwierdzone przez Mikalai Radchuk
rodzic 1d4b069d3e
commit 522a383acb
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -139,8 +139,8 @@ OEMBED_ENDPOINTS = {
"http://video.yandex.ru/oembed.{format}": [ "http://video.yandex.ru/oembed.{format}": [
"^http://video\\.yandex\\.ru/users/[^#?/]+/view/.+$" "^http://video\\.yandex\\.ru/users/[^#?/]+/view/.+$"
], ],
"http://www.mixcloud.com/oembed/": [ "https://www.mixcloud.com/oembed/": [
"^http://www\\.mixcloud\\.com/oembed/[^#?/]+/.+$" "^https?://www\\.mixcloud\\.com/.+$"
], ],
"http://www.kickstarter.com/services/oembed": [ "http://www.kickstarter.com/services/oembed": [
"^http(?:s)://[-\\w]+\\.kickstarter\\.com/projects/.+$" "^http(?:s)://[-\\w]+\\.kickstarter\\.com/projects/.+$"