pip install dryscrape fails with "error: [Errno 2] No such file or directory: 'src/webkit_server'"?

Download webkit-server from github

git clone https://github.com/niklasb/webkit-server.git webkit-server

Change in webkit-server/setup.py :

shutil.copy('src/webkit_server', self.build_purelib)
shutil.copy('src/webkit_server', self.build_platlib)

to

shutil.copy('src/webkit_server.pro', self.build_purelib)
shutil.copy('src/webkit_server.pro', self.build_platlib)

then

cd webkit-server
python setup.py install

There you go.


Need to install http://www.qt.io. Also, The 5.6+ version of Qt removes the Qt WebKit module in favor of the new module Qt WebEngine. So far, webkit-server has not been ported to WebEngine (and likely won't be in the near future), so Qt <= 5.5 is a requirement.