Skip to content

Commit d5f8dbe

Browse files
committed
fix plot scrape in prestige
1 parent 2c979e8 commit d5f8dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javsp/web/prestige.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def parse_data(movie: MovieInfo):
5151
genre_tags = container.xpath("//p[text()='ジャンル:']/following-sibling::div/a")
5252
genre = [tag.text.strip() for tag in genre_tags]
5353
serial = container.xpath("//p[text()='レーベル:']/following-sibling::div/a/text()")[0].strip()
54-
plot = container.xpath("//h2[text()='商品紹介']/following-sibling::p")[0].text.strip()
54+
plot = container.xpath("//h2[text()='商品紹介']/following-sibling::div/p")[0].text.strip()
5555
preview_pics = container.xpath("//h2[text()='サンプル画像']/following-sibling::div/div/picture/source/img/@src")
5656
preview_pics = [i.split('?')[0] for i in preview_pics]
5757

0 commit comments

Comments
 (0)