[69] imdb chart fix

pull/1516/head
meisnate12 1 year ago
parent 9d3ae24c85
commit 662d5b19ca

@ -1 +1 @@
1.19.0-develop68
1.19.0-develop69

@ -221,7 +221,8 @@ class IMDb:
url = "chart/bottom"
else:
raise Failed(f"IMDb Error: chart: {chart} not ")
return self._request(f"https://www.imdb.com/{url}", language=language, xpath="//div[@class='wlb_ribbon']/@data-tconst")
links = self._request(f"https://www.imdb.com/{url}", language=language, xpath="//li//a[@class='ipc-title-link-wrapper']/@href")
return [re.search("(tt\\d+)", l).group(1) for l in links]
def get_imdb_ids(self, method, data, language):
if method == "imdb_id":

@ -1,5 +1,5 @@
arrapi==1.4.2
GitPython==3.1.31
GitPython==3.1.32
lxml==4.9.3
num2words==0.5.12
pathvalidate==3.0.0

Loading…
Cancel
Save