Skip to content

Instantly share code, notes, and snippets.

View jrave's full-sized avatar

Johannes Rave jrave

  • Helsinki, Finland
View GitHub Profile
@jrave
jrave / itunes_festival.py
Created August 4, 2011 14:59
Quick and Dirty script to automate some stuff for the itunes festival streams
import urllib2
import re
url = ''
host='http://streaming.itunesfestival.com'
def get_token():
sub = url.find('?token=')
return url[sub:]