Snoopy is a PHP class that simulates a web browser. It automates the task of retrieving web page content and posting forms.
Questions tagged [snoopy]
30 questions
6
votes
2 answers
How can I scrape website content in PHP from a website that requires a cookie login?
My problem is that it doesn't just require a basic cookie, but rather asks for a session cookie, and for randomly generated IDs. I think this means I need to use a web browser emulator with a cookie jar?
I have tried to use Snoopy, Goutte and a…

Forest
- 938
- 1
- 11
- 30
3
votes
1 answer
Errors trying to install PostgreSQL on Debian 11
Fail to install PostgreSQL on Debian 11
First time to install package: sudo apt install postgresql
...
Unpacking postgresql (13+225) ...
Setting up postgresql-client-common (225) ...
Setting up libpq5:amd64 (13.5-0+deb11u1) ...
Setting up…

Rossano Fenner
- 135
- 1
- 7
3
votes
2 answers
How to automatically submit a (POST) form from remote server?
I am trying to automatically fill in a field and submit a form at another server. I do not have any control on the target page and server.
I tried writing running php code with Snoopy class to do the job, but it did not work (description here)
The…

cybergeek654
- 290
- 1
- 5
- 15
3
votes
2 answers
Creating an object from a class in Codeigniter
The following codes are from http://d.hatena.ne.jp/dix3/20081002/1222899116 and codes are working well.
This is an example of using snoopy in codeigniter.
Q1. Am I correct to say that I can't use,
$this -> load -> library('snoopy')
since Snoopy.php…

shin
- 31,901
- 69
- 184
- 271
2
votes
0 answers
Submitting form on ASPX page with snoopy php class - problem with view state
I am using snoopy to submit a form on a .aspx page of another website. I have grabbed all the headers/cookies and values from that form and passing it to the form with Snoopy. It is going to that however i am getting error of "viewstate" that is…

Zack
- 505
- 2
- 4
- 14
2
votes
2 answers
failed to open stream: Connection timed out when getting content from another website
For more than 2 years I had paid agreement with another website to be able to get their content via my script using Simple_html_DOM. Now suddenly without any warning and still under contract with them Im getting failed to open stream: Connection…

DadaB
- 762
- 4
- 12
- 29
1
vote
1 answer
C++ version for PHP-Snoopy
are there any C++ version for PHP Snoopy?
Snoopy is a PHP class that provides the functionality of a web-browser.
http://sourceforge.net/projects/snoopy/

Kokizzu
- 24,974
- 37
- 137
- 233
1
vote
1 answer
Submitting Data via GET with "Snoopy" in PHP
I'm trying to send data to a url via GET in PHP. I've decided to go with the Snoopy Class after receiving an answer to another question here. The thing is, I cannot seem to find very good documentation/examples for the methods in this class.
I see…

Sampson
- 265,109
- 74
- 539
- 565
1
vote
1 answer
Snoopy and cookies
I need a class like snoopy to post form var and aso allow the code that is called to post to write cookies snoopy works great but the code i am trying to get to work has
$cookie['data'] = serialize (array ($this->username, md5 ($cookie['seed'] .…

Robert
- 11
- 2
1
vote
0 answers
How to get cookie or session via snoopy class?
I want to login to other website and find some information about my account. So i used snoopy class to login.
$snoopy=new…

OhHyeonJun
- 367
- 1
- 4
- 14
1
vote
0 answers
Snoopy tripping up on https?
Running a simple php web crawler via Snoopy - http://turma.sourceforge.net/web/urlator/snoopy.html - but the Fetchlinks() function is having a bit of an issue. Normally fetchlinks() grabs all the links on a page and slots them nicely into an array.…

valen
- 807
- 1
- 16
- 43
1
vote
1 answer
PHP Snoopy in wikipedia
Try to submit a query in Wikipedia by using snoopy class in PHP but fail
agent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.5) Gecko/2008120122…

Fireghost
- 129
- 2
- 12
1
vote
1 answer
ruby equivalent of php snoopy
Is there a Ruby equivalent for PHP Snoopy? Snoopy is a PHP class that provides the functionality of a web-browser.

Kokizzu
- 24,974
- 37
- 137
- 233
0
votes
2 answers
php Snoopy how to get a redirected page
I use snoopy to get a URL : A.com , but in A.com has a simple javascript to redirect request to B.com automaticly.
The javascript just like below
document.write('

Vontio
- 191
- 4
- 12
0
votes
2 answers
Load url content with PHP
my goal is to load url content of 'http://www.fanatics.com/nfl/green-bay-packers/aaron-rodgers-green-bay-packers-nike-game-jersey-green/o-2405+t-36485721+p-3102729373+z-9-2995349525' to my String variable in php. Something like that:
$url =…

Jerry
- 3
- 1