Clinton Hall
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
couchpotato/core/plugins/userscript/template.js_tmpl
|
|
@ -100,7 +100,7 @@ var osd = function(){ |
|
|
|
|
|
|
|
// Try and get imdb url |
|
|
|
try { |
|
|
|
var regex = new RegExp(/tt(\d{7})/); |
|
|
|
var regex = new RegExp(/tt(\d{8})/); |
|
|
|
var imdb_id = document.body.innerHTML.match(regex)[0]; |
|
|
|
if (imdb_id) |
|
|
|
iframe.setAttribute('src', createApiUrl('http://imdb.com/title/'+imdb_id+'/')) |
|
|
|