anasAsh / googlecl

Automatically exported from code.google.com/p/googlecl
0 stars 0 forks source link

[youtube] obtaining the URL of a posted video #317

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Request for an enhancement for youtube service :

I'like to obtain the URL of the video at the end of a post (upload) call.

Otherwise, the only way to get this usefull information after an upload
is to make a "list" call and find the URL in the list (knowing the name of the 
video I've posted), but that take a long time... Longer than the upload 
itself... 

By the way, why does the list opération take so much time ?

Thanks in advance for you help.
regards,
 Hubert.

Original issue reported on code.google.com by hubert.w...@gmail.com on 27 Oct 2010 at 11:10

GoogleCodeExporter commented 9 years ago
As for the listing speed: do you have a lot of videos? YouTube forces a maximum 
of 50 videos returned by every query, so if you have 1,000 videos, it will have 
to do 20 queries, which can take a while. But unless you're uploading very 
small videos, listing should be much faster than uploading.

If you're really curious, you can get a full output of all the communication 
between GoogleCL and YouTube by passing in the --debug flag. But this can give 
very lengthy output (especially with an upload).

Original comment by tom.h.mi...@gmail.com on 27 Oct 2010 at 5:42

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r497.

Original comment by thmil...@google.com on 3 Nov 2010 at 12:06

GoogleCodeExporter commented 9 years ago

Original comment by thmil...@google.com on 3 Nov 2010 at 12:10