Get plaintext attribute of plotText
This commit is contained in:
parent
c6970ccbde
commit
ecca8d72d7
1 changed files with 3 additions and 1 deletions
|
@ -91,7 +91,9 @@ class IMDB(AbstractSite):
|
|||
"genre": (
|
||||
[x["text"] for x in d["genres"]["genres"]] if d.get("genres") else []
|
||||
),
|
||||
"brief": d["plot"].get("plotText") if d.get("plot") else None,
|
||||
"brief": (
|
||||
d["plot"].get("plotText").get("plainText") if d.get("plot") else None
|
||||
),
|
||||
"cover_image_url": (
|
||||
d["primaryImage"].get("url") if d.get("primaryImage") else None
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue