redrebel / pydelicious

Automatically exported from code.google.com/p/pydelicious
Other
0 stars 0 forks source link

HTTP Error 404: Not Found #39

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. import pydelicious
2. pydelicious.get_popular(tag='programming')
3.

What is the expected output? What do you see instead?
A list of dictionary. But I see the next error message

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/pydelicious-0.6-py2.7.egg/pydelicious/__init__.py", line 985, in get_popular
    return getrss(tag=tag, popular=1)
  File "/usr/lib/python2.7/site-packages/pydelicious-0.6-py2.7.egg/pydelicious/__init__.py", line 969, in getrss
    return dlcs_rss_request(tag=tag, popular=popular, user=user, url=url)
  File "/usr/lib/python2.7/site-packages/pydelicious-0.6-py2.7.egg/pydelicious/__init__.py", line 447, in dlcs_rss_request
    rss = http_request(url).read()
  File "/usr/lib/python2.7/site-packages/pydelicious-0.6-py2.7.egg/pydelicious/__init__.py", line 227, in http_request
    raise PyDeliciousException, "%s" % e
pydelicious.PyDeliciousException: HTTP Error 404: Not Found

What version of the product are you using? On what operating system?
pydelicious-0.6 and I have a 'gentoo' Linux

Please provide any additional information below.
I have the "programming Collective Intelligence" book and would like to use the 
del.icio.us API.

Original issue reported on code.google.com by n.em...@gmail.com on 28 Sep 2011 at 5:40

GoogleCodeExporter commented 8 years ago
   Hi, I am having the same problem. Probably the webservice of delicious is out of work after the changes in that service. They are remodeling it and the actual version of software is beta.

   What I don't understand is that, reading the documentation, they tell that will continue offering the webservice, but it seems the webservice is out... or they changed something in it.

   Bruno

Original comment by brunosle...@gmail.com on 28 Sep 2011 at 1:08

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I had the same problem. Fixed it by applying the solution posted on another 
issue post. 

File: "...\Python27\Lib\site-packages\pydelicious" (or any other python version 
you're using)
Line: 78
From: "DLCS_RSS = 'http://del.icio.us/rss/'"
To: "DLCS_RSS = 'http://feeds.delicious.com/v2/rss/'"

Original comment by p.compas...@gmail.com on 5 Nov 2011 at 12:29