This commit is contained in:
j 2007-03-06 22:10:41 +00:00
parent 2c1758db96
commit 50157e16b6

View file

@ -6,6 +6,7 @@ from utils import read_url
import feedparser import feedparser
import StringIO import StringIO
import zipfile import zipfile
import re
def searchSubtitlesByIMDb(imdb, parts = 1, language = "eng"): def searchSubtitlesByIMDb(imdb, parts = 1, language = "eng"):
url = "http://www.opensubtitles.org/en/search/sublanguageid-%s/subsumcd-%s/subformat-srt/imdbid-%s/rss_2_00" % (language, parts, imdb) url = "http://www.opensubtitles.org/en/search/sublanguageid-%s/subsumcd-%s/subformat-srt/imdbid-%s/rss_2_00" % (language, parts, imdb)