Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ccl0326 committed Feb 14, 2019
1 parent 96b5128 commit e8e5b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyspider/fetcher/tornado_fetcher.py
Expand Up @@ -138,7 +138,7 @@ def async_fetch(self, task, callback=None):
elif task.get('fetch', {}).get('fetch_type') in ('splash', ):
type = 'splash'
result = yield self.splash_fetch(url, task)
elif task.get('fetch', {}).get('fetch_type') in ('puppeteer'):
elif task.get('fetch', {}).get('fetch_type') in ('puppeteer', ):
type = 'puppeteer'
result = yield self.puppeteer_fetch(url, task)
else:
Expand Down

0 comments on commit e8e5b9b

Please sign in to comment.