控制"虚拟网络浏览器QUOT;在任何语言 [英] Control "virtual web browser" in any language

查看:122
本文介绍了控制"虚拟网络浏览器QUOT;在任何语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有控制的虚拟的网络浏览器用任何语言(但preferably PHP或C#)的解决方案。此虚拟网络浏览器将被有就像一个正常的,但它完全是对用户隐藏。这意味着JavaScript是执行和JavaScript的cookie处理。

I would like to know if there is a solution to control a "virtual web browser" with any language (but preferably PHP or C#). This "virtual web browser" would be have just like a normal one, but it is completely hidden from the user. This means the Javascript is executed and javascript cookies handled.

我想用这从2005年登录到网站,并从中提取数据。所有的身份验证cookie和链接使用JavaScript这样做,我想基本上是一个自动化过程中,我几乎每天都做。这将需要加载该网站设置所有的JavaScript饼干,然后发送Javascript来浏览器。

I want to use this to login to a site from 2005 and pull data from it. All the authentication cookies and links are done with Javascript so I want essentially automate a process I do almost daily. This would require loading the site setting all the Javascript cookies, then send Javascript to the browser.

我曾尝试在PHP卷曲这样做的,有没有运气。该认证方案是如此令人费解这让我感到恶心。

I have tried doing this with curl in PHP and have had no luck. The authentication scheme is so convoluted it makes me sick.

推荐答案

我们使用的iMacros 脚本 Edtion为类似的任务。它控制的网络浏览器,并且可以用于Web刮。

We use iMacros Scripting Edtion for a similar task. It controls the web browser and can be used for web scraping.

这篇关于控制"虚拟网络浏览器QUOT;在任何语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆