Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

(屮゜Д゜)屮 щ(゚д゚щ)

Name: Anonymous 2011-08-30 12:04


Traceback (most recent call last):
  File "foo.py", line 9, in <module>
    mech.open('http://cairnarvon.rotahall.org/2011/05/28/clusterdebian-1-0/#comments') #wordpress
  File "build\bdist.win-amd64\egg\mechanize\_mechanize.py", line 203, in open
    return self._mech_open(url, data, timeout=timeout)
  File "build\bdist.win-amd64\egg\mechanize\_mechanize.py", line 255, in _mech_open
    raise response
httperror_seek_wrapper: HTTP Error 404: Not Found


why

Name: Anonymous 2011-08-30 12:11

>>1
Probably a custom server configuration that automatically serves 404 to user agents known to be often used in bots, scrapers, etc.

Name: 2011-08-30 12:12

Name: Anonymous 2011-08-30 13:38

>>2
Hmm possibly.
Although I added a browser's user agent.

Name: Anonymous 2011-08-30 14:13

Maybe it didn't like #comments part in the URL for some reason? wget and curl grab page successfully without any problems.

Name: Anonymous 2011-08-30 15:01

>>5
Unfortunately, That didn't make any difference. And Yeah I tried with wget(works fine).

When I was googling I found this but it didn't make much sense to me.

http://osdir.com/ml/python.wwwsearch.general/2007-06/msg00021.html

Which leads to http://thread.gmane.org/gmane.comp.python.wwwsearch.general/771/focus=785

Name: Anonymous 2011-08-30 15:15

import mechanize
browser = mechanize.Browser()
browser.open('http://cairnarvon.rotahall.org/2011/05/28/clusterdebian-1-0/#comments')
assert False, "Disregard that >>1-san sucks cocks."


$ python test.py
Traceback (most recent call last):
  File "test.py", line 4, in <module>
    assert False, "Disregard that >>1-san sucks cocks."
AssertionError: Disregard that >>1-san sucks cocks.

Name: Anonymous 2011-08-30 16:28

>>7
Disregard * sucks cocks
you know where to go back to

Name: n3n7i 2011-08-31 13:09

install the latest mechanize module =)

Name: Anonymous 2011-08-31 14:07

>>9
Go and get some crack, nigger.

Name: Anonymous 2011-08-31 14:28

<-- She'll be driving my sweet dubz when she comes

Name: Anonymous 2011-08-31 14:51

>>11
Nice dubz bro

Don't change these.
Name: Email:
Entire Thread Thread List