这是堆栈跟踪:
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
我正在按照此页面的说明进行操作
检查运行 Python 脚本的用户是否有权运行 browsermob 代理批处理文件,该文件应该是在 path/to/browsermob-proxy
中找到的.bat文件
server = Server("path/to/browsermob-proxy")