|
by: dananrg |
last post by:
O'Reilly's Spidering Hacks books terrific. One problem. All the code
samples are in Perl. Nothing Pythonic. Is there a book out there for
Python which covers spidering / crawling in depth?
|
by: test |
last post by:
Hi everyone,
I'm creating a desktop Python application that requires web-based
authentication for accessing additional application features.
HTTP GET is really simple.
HTTP POST is not (at least for me anyway) ;)
I have tried a few different sources, but I cannot get HTTP POST to
successfully log in. I can login using FireFox at
|
by: bruce |
last post by:
hi...
it appears that i'm running into a possible problem with
mechanize/browser/python rgarding the "select_form" method. i've tried the
following and get the error listed:
br.select_form(nr = 1)
br.select_form(name="foo")
br.select_form(name=foo)
br.select_form(name="foo")
|
by: siggi |
last post by:
Hi all,
installing a package with 'setup.py' is easy. But how do I uninstall the
package, once I want to get rid of it again?
Thanks,
siggi
|
by: bruce |
last post by:
Hi...
got a short test app that i'm playing with. the goal is to get data off the
page in question.
basically, i should be able to get a list of "tr" nodes, and then to
iterate/parse them. i'm missing something, as i think i can get a single
node, but i can't figure out how to display the contents of the node.. nor
how to get the list of the "tr" nodes....
|
|
by: bruce |
last post by:
i'm getting the following error:
mechanize._response.httperror_seek_wrapper: HTTP Error 500:
i'm running python 5.1
and mechanize 0.1.7b
I have no idea as to what I have to change/modify/include to handle this
issue. The link that I'm testing is at the bottom of the page. When I insert
the link into the browser, I actually get an err page.. so, I suspect that
there is a handler that I should be able to modify/use to handle this
|
by: tedpottel |
last post by:
Hi,
I am trying to install the mechanize lib so I can use python to do
webbrowseing.
First I set up easy_install
When I ran the script, it download the files ok, then I got these
error messages
sun is not reganized as a internal command
I did a sercah on sun.* and the sercah came up empty, am I missing
|
by: bruce |
last post by:
evening...
using mechanize/Browser, i can easily do a url/get, and process submitting a
form that uses a GET as the action. however, I'm not quite sure how to
implement the submittal of a form, that uses the POST action.
Anyone have a short chunk of code that I can observer, that uses the
mechanize.Browser implentation?
in searching the net, i haven't found any...
|
by: Mohamed Yousef |
last post by:
Hello ,
i don't know about mechanize but in general all you have to do is a
simple socket text sending
connect to the server then send it POST headers to page in question..
what to send ? getting this your self is much better and one of the
best tools is LiveHTTPHeaders - an addon for firefox -
so open it post the form in browser then see what you got in
LiveHttpHeaders , it will also help you more read through the form
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|