Questions tagged [snoopy]

Snoopy is a PHP class that simulates a web browser. It automates the task of retrieving web page content and posting forms.

30 questions
0
votes
0 answers

Snoopy module in Puppet returns "Could not find declared class snoopy::install"

I am getting an error on the snoopy module. When I run it on my client, I am getting this error: "Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not…
0
votes
0 answers

Making XMLHttpRequest from php

I want to do some m2m-communication, where my server is to emulate a human operating a webpage. So I'm trying to SEND an XMLHttpRequest from php TO another server. Whatever I've searched for gives how for php to ACCEPT a XMLHttpRequest I have…
Leif Neland
  • 1,416
  • 1
  • 17
  • 40
0
votes
1 answer

Installing Snoopy-ng

I had a problem while installing Snoopy which I couldn't resolve and couldn't find any answers to, so I spent over 8 hours figuring it out and I'm going to post it here so others don't need to struggle. My problems were that the installation would…
0
votes
0 answers

PHP All Options Found to Read a Web Page Result in an Error in my case

I have been searching and trying a lot to find the answer to this problem, including trying out many answers to very similar questions asked here on StackOverflow that, as I read, worked really well for many users, however not for me, for reasons I…
0
votes
1 answer

PHP Extract Form Data With Snoopy

I am using Snoopy to extract a form from a website. The results of which look like this...
user3411692
0
votes
3 answers

How to use snoopy class in PHP?

I'm beginner of php, I'm making simple program, and that use some crawling web site (not private information). The result that I expected is HTML CODE, like a blabla blabla................... But I checked the…
ton1
  • 7,238
  • 18
  • 71
  • 126
0
votes
0 answers

Automatically submitting a form with PHP Snoopy

I am using the following code to automatically fill in a field and submit a form at another server: agent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN;…
cybergeek654
  • 290
  • 1
  • 5
  • 15
0
votes
2 answers

C# Equivalent of Snoopy

Snoopy is a PHP class that provides the functionality of a web-browser. Is there anything that does the same in C#? I'm having lots of trouble with handling cookies, etc.
Dmitriy
  • 552
  • 1
  • 6
  • 20
0
votes
1 answer

Auto Login in Wordpress Admin using Snoopy class fails

I want to Auto login to my wordpress admin to perform some Actions so i used snoopy php class for this. My sample code is here
Ram Guru99
  • 175
  • 1
  • 1
  • 14
0
votes
2 answers

PHP - Snoopy POST request + maintain SESSION?

Using Snoopy I make a request, but it seems that a different SESSION is used for the POST? When I echo the results of the request the SESSION is set but after clicking any link the page returns to a non SESSION-set state. Currently i'm using this…
Hux
  • 3,102
  • 1
  • 26
  • 33
0
votes
1 answer

How to use snoopy class in php

I've been trying to find out how to use snoopy class in php. I'm trying to search anything from google using snoopy. i found out that the form of google search is name=q and the action=/search how to set my snoopy code to a correct code. $s=new…
Vincent
  • 852
  • 6
  • 29
  • 67
0
votes
1 answer

snoopy/curl issue with google maps api

This is related to debugging a google maps api query error We are using snoopy to do the request and it returns the "sensor must be true or false" problem. The snoopy generated request is: /usr/bin/curl -k -D "/tmp/snodlRoAD" -H "User-Agent: Snoopy…
Ian M
  • 13
  • 4
0
votes
1 answer

Posting with snoopy using proxy takes too long

Hi I have a php script which tries to do a post. I use Snoopy class and also I use proxy. I managed to post but when I use a proxy the posting is extremely slow. I mean it can take till 30 minutes. I don't want to block my script for 30 minutes…
Granit
  • 931
  • 3
  • 12
  • 22
0
votes
0 answers

Getting images with curl or snoopy class

How to get the only images with snoopy class or curl ? I have got the fallowing html code What i want to do? I want to get the all images with are in file "unique_pic" and they are saved as .gif or…
0
votes
1 answer

How get text between two closed tags Snoopy PHP

How can i retrieve the text between two tags with Snoopy PHP Example :

Test

in this example i want get "Test" thanks
dardar.moh
  • 5,987
  • 3
  • 24
  • 33
1
2