mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[69] imdb chart fix
This commit is contained in:
parent
9d3ae24c85
commit
662d5b19ca
3 changed files with 4 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -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…
Reference in a new issue