Hello,
Im am using the Periscope script to download subtitles from this site from my Synology Diskstation and it works like a charm for the first couple (maybe 50-100) subtitles I try to download. After that the script seems to indicate that it found a subtitle and downloads it but then give me the error:
"ERROR:periscope:Not a gzipped file" (this is sometimes repeated a couple of times, once for each avilable Subtitle is my guess) , and then:
"ERROR:periscope:No subtitles could be chosen.".
Even so the script do manage to download a file called "filename.srt.gz", which contains code that looks very much as code from a webpage:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jq ... ript><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta http-equiv="content-style-type" content="text/css" /><meta name="google-site-verification" content="YlFQS0yGw4Oazpbdw4c5BCqjXVR2nlPIuSKiMfvhA6k" /><meta name="keywords" content="" /><meta name="description" content="" /><meta name="revisit-after" content="7 days" /><link rel="shortcut icon" type="image/x-icon" href="http://static.opensubtitles.org/favicon.ico" /><link rel="search" type="application/opensearchdescription+xml" title="OpenSubtitles.org search" href="/en/opensearch/sublanguageid-all" /><link rel="index" href="/en/" /><link rel="help" href="/en/faq" /><link rel="search" href="/en/search" /><link rel="copyright" href="/en/copyright" /><link rel="author" href="/en/contact" /><link rel="bookmark" href="/en/download/filead/1953135599.gz" title="" /><meta name="robots" content="noindex,nofollow" /><link rel="stylesheet" type="text/css" href="http://www.opensubtitles.org/style.css" /><title></title><style type="text/css" media="screen"><!--[if lt IE 7]>
body {
behavior: url("http://static.opensubtitles.org/csshover.htc");
}
<![endif]-->
#menu ul li, #menul ul li, #menuc ul li {float: left; width: 100%;}
#menu ul li a, #menul ul li a, #menuc ul li a {height: 1%;}
</style><script type='text/javascript'>
var m3_u = (location.protocol=='https:'?'https://ads.opensubtitles.org/www/delivery/ajs.php':'http://ads.opensubtitles.org/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=46");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
</script>
<noscript>
<a href='http://ads.opensubtitles.org/www/delive ... &cb=900073' target='_blank'>
<img src='http://ads.opensubtitles.org/www/delive ... n=afb26379' border='0' alt='' />
</a>
</noscript><script type="text/javascript" src="http://static.opensubtitles.org/libs/js/common.js">
</script></head><body><div class="content"><div id="network"><div id="network_links"><a href="http://www.newtorrents.info" target="_blank" title="0-day torrents">NewTorrents</a> |
If I try to download the file again directly I will get the same error, but If I wait for a while the script will work again for a couple of more downloads. This makes me think that opensubtitles got some kind of maximum number of subtitles that it will let me download in a certain time. Is this correct? If so, I would like to know what I am allowed, so that I can modify my script accordingly.
Thanks in advance!