Merge branch 'master' into multi-source
This commit is contained in:
commit
36b85a3b00
1 changed files with 2 additions and 1 deletions
|
@ -407,6 +407,7 @@ class DoubanMovieScraper(AbstractScraper):
|
|||
duration = None
|
||||
|
||||
season_elem = content.xpath(
|
||||
|
||||
"//*[@id='season']/option[@selected='selected']/text()")
|
||||
if not season_elem:
|
||||
season_elem = content.xpath(
|
||||
|
@ -459,4 +460,4 @@ class DoubanMovieScraper(AbstractScraper):
|
|||
'is_series': is_series,
|
||||
}
|
||||
return data, raw_img
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue