Open hubitor opened 5 years ago
This is wrong:
fetch_type='chrome'
correct:
fetch_type='puppeteer'
Because, you can find the answer in https://github.com/binux/pyspider/blob/master/pyspider/fetcher/tornado_fetcher.py#L141
elif task.get('fetch', {}).get('fetch_type') in ('puppeteer', ):
...
I'm trying to use the puppeteer fetcher with this script from the examples:
The result is this:
{'channels': [], 'url': 'https://www.twitch.tv/directory/game/Dota%202'}
The puppeteer fetcher is supposed to be running since I see this when I start start pyspider:
puppeteer fetcher running on port 22222
When I modify the content of the js_script and rerun the script, pyspider it doesn't do anything. It doesn't even give an error if I insert faulty code.
I've already found a related issue: https://github.com/binux/pyspider/issues/902
but it didn't help.
Expected behavior
Get results.
Actual behavior
No results.
How to reproduce