google-code-export / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
1 stars 0 forks source link

YoutubeQuery returns no result #557

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Help:

I am trying to get a list of all the videos on my account? I have 1055 videos, 
so getting this via the xml feed of 50 list at a time is too tedious

I have tried using the python client library, and this returns no result when I 
use the YouTubeQuery object. Please see my snippet below:

import gdata.youtube, gdata.youtube.service

youtube = gdata.youtube.service.YouTubeService()
#logs in here
query = gdata.youtube.service.YouTubeVideoQuery()
query.vq = <title>
query.author = <my username>
feed = youtube.YouTubeQuery(query)

feed.entry returns an empty list

Will appreciate any help, or tool to achieve this, and any fix as to why the 
query returns no result.

Thanks.

Original issue reported on code.google.com by web.d...@gmail.com on 2 Nov 2011 at 5:45