minor fix
This commit is contained in:
parent
a222a1d314
commit
3175fab439
2 changed files with 6 additions and 1 deletions
|
@ -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]")
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue