conduit r1336 - in trunk: . conduit/modules/GoogleModule
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1336 - in trunk: . conduit/modules/GoogleModule
- Date: Mon, 25 Feb 2008 21:19:46 +0000 (GMT)
Author: jstowers
Date: Mon Feb 25 21:19:46 2008
New Revision: 1336
URL: http://svn.gnome.org/viewvc/conduit?rev=1336&view=rev
Log:
2008-02-26 John Stowers <john stowers gmail com>
* conduit/modules/GoogleModule/GoogleModule.py: Fix youtube bug which failed
at returning videos added or favorited by a specific user.
Modified:
trunk/ChangeLog
trunk/conduit/modules/GoogleModule/GoogleModule.py
Modified: trunk/conduit/modules/GoogleModule/GoogleModule.py
==============================================================================
--- trunk/conduit/modules/GoogleModule/GoogleModule.py (original)
+++ trunk/conduit/modules/GoogleModule/GoogleModule.py Mon Feb 25 21:19:46 2008
@@ -756,7 +756,7 @@
elif self.filter_type == 1:
videos = self._top_rated ()
else:
- if self.usr_filter_type == 0:
+ if self.user_filter_type == 0:
videos = self._videos_upload_by (self.username)
else:
videos = self._favorite_videos (self.username)
@@ -832,6 +832,11 @@
therefore we try the trick from here [2]
[1] http://svn.pythonfr.org/public/pythonfr/video/youtube_client.py
[2] http://www.abdulqabiz.com/blog/archives/general/update_getting_youtu.php
+
+ #FIXME:
+ Method 2 doesnt work for old youtube videos, method 1 doesnt work
+ for new youtube videos. e.g.
+ http://www.youtube.com/watch?v=BWE1tH93G9U
"""
flv_url = ''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]