Archive

Posts Tagged ‘google’

Downloading Google Videos

August 11th, 2007 rupert 1 comment

Having troubles downloading google videos in china. I found this excellent post, http://www.isaacmao.com/meta/2006/07/how-to-view-google-video-locally-in.html”.

Trick here, is for your browser to use anonymous access. This is where TOR comes to the picture.

  1. Follow the steps above in setting up TOR.
  2. You should see two (2) icons on your system tray–[1] Privoxy and [2]Tor.
  3. Go to D:\Vidalia Bundle\Torbutton\ and drag torbutton-1.0.4-fx+tb.xpi to Firefox to install the plugin. Restart Firefox.
  4. To test your settings: Go to tor detector.

TOR-disabled:
219.142.136.4 (4.136.142.219.broad.bj.bj.dynamic.163data.com.cn)

TOR:
88.84.142.165 (v29465.1blu.de)

  1. Now we can view google video from China.
  2. To download the video, view source the file after the flash video has initialized
  3. Look for: “googleplayer.swf?&videoUrl“, copy and paste the URL until you see “&messagesUrl\u003
  4. Now fire up your PL of choice and unescape the string
<cfset temp="http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DtwAAAJXmdl7RAbyfYcDwHzBiBVKQtqUQSoSZfAnVXGhsGvKxwTGSF0kNuXRAvMyVxKs6uXkGf3muen2mfnv_D21e3Wkw89ngl9-GEELOIiKHZtJsfUc_kYbKHHMieqsUs92S5ALoyWiWZBeX3SaNdyNTNuc6h1aPjG9EBrGIK4sf0s9Zrl5npjJiUZJ8j_mKWj9YQFhnHOkL-t7XUBBxJuXGeK2ORTrfBPecXPAC-ql_GlIwWIDkAWP6bVCeej0uFln-EA%26sigh%3Dyt6dfQtoXjSdikbv9o9y5YADjj8%26begin%3D0%26len%3D6009275%26docid%3D1135114630744003385">
 
<cfoutput>
<a href="#URLDecode(temp)#">#URLDecode(temp)#</a>
</cfoutput>
</cfset>

Once downloaded, you can view it from google’s video player. GoogleVideoPlayerSetup.exe

Categories: google Tags:

OpenLayers and Google Layer Zoom fix

February 20th, 2007 rupert Comments off

I have finally fixed the disappearing layer on the layer switch when we try to overlay the layer on top of Google. I edited Google.js to reflect the ff:

 
    MAX_ZOOM_LEVEL: 22,
 
    /** Hardcode these resolutions so that they are more closely
     *   tied with the standard wms projection
     *
     * @final @type Array(float) */
/*    RESOLUTIONS: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125],*/
 
RESOLUTIONS:[1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125,0.0000214576721191140625,0.000107288360595703125,0.0000053644182978515625,0.000002682209014892578125,0.0000013411045074462890625,0.00000067055225372314453125],
Categories: openlayers Tags: ,