google-code-export / django-syncr

Automatically exported from code.google.com/p/django-syncr
0 stars 0 forks source link

Youtube sync fails when there are more than one "page" of results #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The default max-results is 25, so if there are more, you never get them.
I've included a patch that keeps requesting the feed, increasing the
start-index at each request, so all videos are included.

Consider this a first step. I would think you'd want to, usually, do one
big request first, and later do small updates. Automating that at this
point in the library makes sense, possibly requesting feeds until reaching
the point that old videos are found again?

Original issue reported on code.google.com by ironfro...@gmail.com on 29 May 2009 at 10:50

Attachments:

GoogleCodeExporter commented 9 years ago
I totally agree with your idea about this... the YouTube API has changed A LOT 
since
I first wrote this app. This may have been leftover from a limitation of their
original API (pre-GData). I applied your patch to the repo and credited you in 
the
changelog. THANK YOU!

Original comment by jesse.l...@gmail.com on 9 Jun 2009 at 1:19

GoogleCodeExporter commented 9 years ago

Original comment by jesse.l...@gmail.com on 7 Jul 2009 at 9:01