Open GoogleCodeExporter opened 9 years ago
I should have added:
Thanks for the nice app!
Original comment by rea...@gmail.com
on 29 May 2008 at 5:50
For what it's worth, I've found the solution to this problem. The problem is an
incorrect use of lstrip, which
actually strips all occurrences of the letters contained in the string to be
removed if they lead the string (see
here: http://python.about.com/od/pythonstandardlibrary/a/string-methods.htm).
Change line 67 from this:
video_id = result.findtext('{%s}id' %
ATOM_NS).lstrip('http://'+self._youtubeGDataHost+self._youtubeFeedBase+'videos/'
)
to this:
video_id = result.findtext('{%s}id' % ATOM_NS).replace('http://' +
self._youtubeGDataHost +
self._youtubeFeedBase + 'videos/', '')
and all is well.
Original comment by matthewt...@gmail.com
on 18 Jan 2009 at 9:04
Thanks for the update, this bug has been open for a long time! I've patched
this into the subversion trunk.
Leaving ticket open for a bit to test. Credited you in the changelog. Thanks!
Original comment by jesse.l...@gmail.com
on 20 Jan 2009 at 2:16
Original issue reported on code.google.com by
rea...@gmail.com
on 29 May 2008 at 5:48