Forum Moderators: coopster

Message Too Old, No Replies

Get docid/contentid from Google Video URLs and id from metacafe URLs

         

Lolalola

4:46 pm on Dec 27, 2010 (gmt 0)



Hi, how get from video.google current video pictures? For example i have this video:

http://video.google.com/videoplay?docid=1811233136844420765


And this video pictures url is:

 http://video.google.com/ThumbnailServer2?app=vss&contentid=d53e613f82f74c96&offsetms=50000&itag=w160&lang=en&sigh=QGtXRNh3rW4hfa6DSQSFtfOimno


.................

http://images.metacafe.com/thumb/386357/[b]2767198[/b]/4/catalog_top_item5/0/teach_magic_be_magician_money_magic.jpg

And from wher get metacafe second id (2767198) ?

So how only from video id to get a picture link?

coopster

8:13 pm on Dec 30, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Looks to me like you are going to have to parse the url and use a regular expression or possible even explode() the url to get your identifier. Perhaps you can explain in more detail what you are attempting to accomplish?