小编Ale*_*112的帖子

No headers in HAR response

I parse website 'http://ok.ru'. To get data from the post request I need to send a specific token that is generated by Javascript on the website and this token is contained in headers.

So I thought maybe one solution would be to open the website, let it generate token, grab headers and that's it.

One tool that can implement Java scripts is Selenium, however, to get headers I need to use brosermob-proxy (or equivalent). That is where I'm …

python-2.7 har selenium-webdriver browsermob browsermob-proxy

4
推荐指数
1
解决办法
1241
查看次数