diff --git a/VERSION b/VERSION index fe34de6e..87bf9c4f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.19.0-develop68 +1.19.0-develop69 diff --git a/modules/imdb.py b/modules/imdb.py index 79e366bb..bc0d86f9 100644 --- a/modules/imdb.py +++ b/modules/imdb.py @@ -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": diff --git a/requirements.txt b/requirements.txt index 327079e1..2e3693f8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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