urlinfo:imdb: fix extractor

This commit is contained in:
ducklet 2021-10-11 21:13:45 +02:00
parent 6dd7f77aae
commit 370ae8e19f

View file

@ -101,7 +101,7 @@ async def extractor(info):
return return
ld = json.loads(parser.value) ld = json.loads(parser.value)
assert ld["@context"] == "http://schema.org" and ld["@type"] in ( assert ld["@context"] == "https://schema.org" and ld["@type"] in (
"Movie", "Movie",
"CreativeWork", "CreativeWork",
"TVSeries", "TVSeries",