scrapy_puppeteer/cli.py
import asyncio
import sys
from twisted.internet import asyncioreactor
# Need to install the asyncio reactor before importing Scrapy (?)
# Maybe there is a cleaner way to to it?
asyncioreactor.install(asyncio.get_event_loop())
from scrapy.cmdline import execute
def __main__():
execute(argv=sys.argv)