这是stacktrace:
Traceback (most recent call last):
File "facebook_scraper.py", line 185, in <module>
fb_scraper()
File "facebook_scraper.py", line 36, in fb_scraper
server.start()
File "build/bdist.linux-x86_64/egg/browsermobproxy/server.py", line 56, in start
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
OSError: [Errno 13] Permission denied
我正在遵循此page
的说明答案 0 :(得分:0)
检查运行Python脚本的用户是否有权运行browsermob代理批处理文件,该文件应该是path/to/browsermob-proxy
server = Server("path/to/browsermob-proxy")