conduit r1447 - in trunk: . conduit/modules/GoogleModule
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1447 - in trunk: . conduit/modules/GoogleModule
- Date: Mon, 5 May 2008 13:20:23 +0100 (BST)
Author: jstowers
Date: Mon May 5 12:20:23 2008
New Revision: 1447
URL: http://svn.gnome.org/viewvc/conduit?rev=1447&view=rev
Log:
2008-05-06 John Stowers <john stowers gmail com>
* conduit/modules/GoogleModule/GoogleModule.py: Add magic numbers in case
anyone wants to work on youtube video upload.
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 May 5 12:20:23 2008
@@ -886,6 +886,11 @@
USERS_FEED = "http://gdata.youtube.com/feeds/users"
STD_FEEDS = "http://gdata.youtube.com/feeds/standardfeeds"
VIDEO_NAME_RE = re.compile(r', "t": "([^"]+)"')
+
+ #From: http://code.google.com/apis/youtube/dashboard/
+ UPLOAD_CLIENT_ID="ytapi-ConduitProject-Conduit-e14hdhdm-0"
+ UPLOAD_DEVELOPER_KEY="AI39si6wJ3VA_UWZCWeuA-wmJEpEhGbE3ZxCOZq89JJFy5CpSkFOq8gdZluNvBAM6DW8m7AhliSYPLyfEPJx6XphBq3vOBHuzQ"
+ UPLOAD_URL="http://uploads.gdata.youtube.com/feeds/api/users/%(username)s/uploads"
def __init__(self, *args):
DataProvider.DataSource.__init__(self)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]