<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">

<channel>
<title>Hackszine: MySpace</title>
<link>http://www.hackszine.com/blog/archive/myspace/</link>
<description>O&apos;Reilly&apos;s Hacks Series reclaims the term &apos;hacking&apos; for the good guys--innovators who explore and experiment, unearth shortcuts, create useful tools, and come up with fun things to try on their own</description>
<language>en-us</language>
<copyright>Copyright 2008, O'Reilly Media, Inc.</copyright>
<lastBuildDate>Sat, 26 Jan 2008 23:21:28 -0800</lastBuildDate>
<pubDate>Fri, 10 Oct 2008 11:52:05 -0800</pubDate>
<generator>http://www.movabletype.org/?v=4.1</generator>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
<itunes:author>O'Reilly Media, Inc.</itunes:author>
<itunes:subtitle>Clever solutions to interesting problems.</itunes:subtitle>
<itunes:summary>Hackszine Podcast</itunes:summary>
<itunes:owner>
<itunes:email>webmaster@makezine.com</itunes:email>
</itunes:owner>
<category>Technology</category>
<itunes:category text="Technology">
</itunes:category>
<itunes:category text="Technology">
  <itunes:category text="Gadgets" />
</itunes:category>
<itunes:category text="Games &amp; Hobbies" >
</itunes:category>
<itunes:category text="Science">
</itunes:category>
<itunes:image href="http://makezine.com/images/hackszine/rss_icon.jpg" />
<itunes:explicit>no</itunes:explicit>


<item>
<title>HOWTO: download MP3s from MySpace</title>
<itunes:summary>There are a lot of sites that provide little Flash audio widgets that allow you to listen to a tune but make it difficult to download. MySpace, for example, has a player that a lot of bands use to promote...</itunes:summary>
<description>
<![CDATA[<p>There are a lot of sites that provide little Flash audio widgets that allow you to listen to a tune but make it difficult to download. MySpace, for example, has a player that a lot of bands use to promote their music. Songs are downloaded to the player in normal MP3 format, but each time you load the player it is given a special token that it can use to access the audio. This token is passed back to the server in the query string by flash when a file is requested, which authenticates the download. Once the download has completed, the token is invalid for future downloads. Essentially, this protects people from figuring out the song URL and then hotlinking to it from another site.</p>

<p>What it doesn't do is protect you from downloading and saving a copy of the MP3 to your own machine. The Flash widget makes finding the URL a bit of an annoyance, but it's easy enough to discover that you can initiate your own download before the player has completed. Here's how:</p>

<ol><li>Wait for the page to finish loading and then play the song you want to download.</li><li>Open up the Activity Monitor window in Safari, or use the network activity monitor in FireBug for Firefox.</li><li>You'll be able to quickly find the MP3 url. It's the one with the heinously long query string, probably a few MB in size, and the only thing still downloading.</li><li>Double click the URL to open it in a new window.</li></ol>

<p>At this point, you have the song URL in your browser's address bar and the Flash player is still downloading the file. Depending on what browser you are using, opening the MP3 may have started downloading the file to your download folder. If that's the case, you're done!</p>

<p>Safari will try to play the MP3 inside the browser and doesn't allow you to save, though. That's okay&mdash;we'll use the command line instead. Just cut the URL from your address bar, hop over to a Terminal window, and type in the following:</p>

<blockquote><code>curl -b nada 'http://paste_long_url_here' &gt;out.mp3</code></blockquote>

<p>Just make sure to put the single quotes around the URL that you've copied. If you execute this before the Flash widget's download has completed, curl will begin downloading the audio file and dumping it into out.mp3. If you were too slow, you'll get a 404 error. You'll have to replay the file, get the new URL, and try again. It usually takes a half minute for the file to finish streaming in, so you shouldn't have trouble getting this to work.</p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2008/01/howto_download_mp3s_from_myspa.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2008/01/howto_download_mp3s_from_myspa.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2008/01/howto_download_mp3s_from_myspa.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2008/01/howto_download_mp3s_from_myspa.html?CMP=OTC-7G2N43923558</guid>
<category>MySpace</category>
<pubDate>Sat, 26 Jan 2008 23:21:28 -0800</pubDate>

</item>

<item>
<title>Using Google as a Proxy (or HOW TO: View MySpace at School)</title>
<itunes:summary>Normally when you view a web page, your computer&apos;s browsing software makes a connection to the destination server, downloads the page&apos;s data, and displays it for you. This would normally be the preferred way of doing things, but occasionally you&apos;ll...</itunes:summary>
<description>
<![CDATA[<p>Normally when you view a web page, your computer's browsing software makes a connection to the destination server, downloads the page's data, and displays it for you.</p>

<p>This would normally be the preferred way of doing things, but occasionally you'll find yourself on a work or school connection that disallows you from connecting to certain web sites.  In these scenarios, what you need is a proxy.  A proxy is a server or service that will connect to the blacklisted server on your behalf and send you back the results.</p>

<p>Now, you still need to directly access the proxy server, so it's important that it's not on the blacklist itself.   It's very interesting that Google, a host unlikely to end up on most blacklists, has a couple of tools that can essentially act as a web proxy!</p>

<p><b>Google Proxy Trick #1</b><br />
The first tool is Google's translation service.  This service will dynamically download and translate any web page you request, and if you specify the "to" launguage as English (or your desired language), Google Translate will just spit out the destination document, acting as a simple proxy.  Note that you used to be able to set the "from" and "to" language both as English to ensure no translation, but this feature seems to have been removed.  However, I've found that if you specify Chinese to English (or anything to english) on an already english document, you usually get the exact text.  The bonus of using the Chinese filter is that you can hover over any text and it'll give you the <u>exact</u> original text.</p>

<p>Just replace www.myspace.com in the URL below with a blocked site to see:<br />
<a href="http://www.google.com/translate_c?langpair=zh%7Cen&u=http://www.myspace.com/">http://www.google.com/translate_c?langpair=zh%7Cen&u=http://www.myspace.com/</a></p>

<p>The only problem with this is that it doesn't proxy any of the images for you.  Those are still coming directly from the destination server, so they will likely be filtered and all you'll see is the page text.</p>

<p><b>Google Proxy Trick #2</b><br />
The second Google tool that can be used as a proxy service is the Google Wireless Transcoder.  This service was designed to make web pages viewable on mobile phone browsers.  It will download a destination site's web page, including images, and rework the entire page, on the fly, to fit into an average cell-phone's screen space.</p>

<p>To try it out, go to <a href="http://www.google.com/gwt/n">http://www.google.com/gwt/n</a> and enter the url you'd like to view.  You'll quickly see that most of the page formatting has been stripped out, leaving a very simple, single-column page.  You'll also notice that all the images are scaled down to mobile phone optimized size.  It's a bit of a downside, but google is actually downloading and sending the scaled versions from a google server.   So, if you're on a blacklisted site, you'll still be able to view images - they'll just be smaller than usual.</p>

<p>On the plus side, I've found that 99% of MySpace templates look better using the Google Wireless Transcoder.</p>

<p><b>Update (my poor memory):</b><br />
I have the long term memory of a goldfish.  It looks like Brian Sawyer wrote about this back in January -<a href="http://www.hackszine.com/blog/archive/2007/01/use_google_to_view_myspace_or.html">Link.</a>  He also linked to another article on the topic of bypassing a blocked myspace connection, which I've also included below.  Thanks, Brian!</p>

<p><br />
<b>Related:</b><br />
<ul><li><a href="http://www.oreillynet.com/pub/a/network/2006/12/21/using-google-to-view-myspace-or-any-restricted-sites.html">Using Google to View MySpace or Any Restricted Site</a></li><li><a href="http://www.oreilly.com/catalog/googlehks3/index.html">Google Hacks, Third Edition</a></li><li><a href="http://myspacehacks.blogspot.com/2006/01/how-to-use-myspace-if-your-school-or.html">How To Use MySpace If Your School Or Work Blocks Access</a></li></ul></p>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/04/using_google_as_a_proxy_or_how.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/04/using_google_as_a_proxy_or_how.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/04/using_google_as_a_proxy_or_how.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/04/using_google_as_a_proxy_or_how.html?CMP=OTC-7G2N43923558</guid>
<category>Google</category>
<pubDate>Sun, 15 Apr 2007 19:59:02 -0800</pubDate>

</item>

<item>
<title>Use Google to View MySpace or Any Restricted Site</title>
<itunes:summary>A year ago, a reader with the handle of bigthistle posted one of our favorite hacks to hacks.oreilly.com, describing how to access restricted websites using the Google Translate feature. Acknowledging that our readers often have better ideas than we do,...</itunes:summary>
<description>
<![CDATA[<p>A year ago, a reader with the handle of bigthistle posted one of our <a href="http://hacks.oreilly.com/pub/h/4807">favorite hacks</a> to hacks.oreilly.com, describing how to access restricted websites using the Google Translate feature. Acknowledging that our readers often have better ideas than we do, we recently asked Wei-Meng Lee to take a closer look at this technique, and he wrote up <a href="http://www.oreillynet.com/pub/a/network/2006/12/21/using-google-to-view-myspace-or-any-restricted-sites.html">this awesome HOWTO</a> based on the original submitted hack.</p>

<p>If you have a hack on any topic that you'd like to share, let us know by using the "Suggest a Hack" form from the sidebar of this page.</p>

<p><strong>UPDATE:</strong> The <a href="http://myspacehacks.blogspot.com/">MySpace Hacks blog</a> has a roundup of related ideas in <a href="http://myspacehacks.blogspot.com/2006/01/how-to-use-myspace-if-your-school-or.html">How To Use MySpace If Your School Or Work Blocks Access</a>.</p>

<p><br><strong>Related:</strong></p>

<ul><li><a href="http://store.makezine.com/ProductDetails.asp?ProductCode=0596527063">Google Hacks, 3E</a></ul>]]>
[&lt;a href="http://www.hackszine.com/blog/archive/2007/01/use_google_to_view_myspace_or.html?CMP=OTC-7G2N43923558" /&gt;Read More&lt;/a&gt;]  
[&lt;a href="http://www.hackszine.com/blog/archive/2007/01/use_google_to_view_myspace_or.html?CMP=OTC-7G2N43923558#comments" /&gt;Comments&lt;/a&gt;]
</description>
<link>http://www.hackszine.com/blog/archive/2007/01/use_google_to_view_myspace_or.html?CMP=OTC-7G2N43923558</link>
<guid>http://www.hackszine.com/blog/archive/2007/01/use_google_to_view_myspace_or.html?CMP=OTC-7G2N43923558</guid>
<category>MySpace</category>
<pubDate>Wed, 03 Jan 2007 06:34:53 -0800</pubDate>

</item>


</channel>
</rss>