Temporary fix for vimeoWorkaround

This commit is contained in:
calzoneman 2015-06-14 06:41:01 -04:00
parent 3f79e9f858
commit 32d9285560
1 changed files with 2 additions and 1 deletions

View File

@ -749,6 +749,7 @@ function vimeoWorkaround(id, cb) {
var inner = function () {
var options = {
host: "player.vimeo.com",
port: 443,
path: "/video/" + id,
headers: {
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0",
@ -811,7 +812,7 @@ function vimeoWorkaround(id, cb) {
}
};
urlRetrieve(http, options, function (status, buffer) {
urlRetrieve(https, options, function (status, buffer) {
if (status !== 200) {
setImmediate(function () {
cb({});