minor fix

This commit is contained in:
Your Name 2022-05-04 18:28:55 -04:00
parent a222a1d314
commit 3175fab439
2 changed files with 6 additions and 1 deletions

View file

@ -481,7 +481,7 @@ class DoubanMovieScraper(DoubanScrapperMixin, AbstractScraper):
episodes_elem = content.xpath(
"//div[@id='info']//span[text()='集数:']/following-sibling::text()[1]")
episodes = int(episodes_elem[0].strip()) if episodes_elem else None
episodes = int(episodes_elem[0].strip()) if episodes_elem and episodes_elem[0].isdigit() else None
single_episode_length_elem = content.xpath(
"//div[@id='info']//span[text()='单集片长:']/following-sibling::text()[1]")

View file

@ -10,6 +10,11 @@
font-size: 1.6em;
}
.markdownx-preview blockquote {
border-left: lightgray solid 0.4em;
padding-left: 0.4em;
}
.collection-item-position-edit {
float: right;
}