Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.
My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 |
#! /usr/bin/env python # Config RTMPDUMP_PATH = "rtmpdump" MPLAYER_PATH = "mplayer" # End of config import os, sys from subprocess import * # Check for -install flag if "-install" == : if 0 != : print "Installer need to be run as root!" print "Installing MPlayer and Build-Essential..." print "Downloading rtmpdump source..." command = """mkdir rtmpdump cd rtmpdump/ tar -xf ../rtmpdump.tar.gz make linux mv rtmpdump /usr/bin/ cd ../ rm -Rf rtmpdump/ rm -f rtmpdump.tar.gz""" print "Finished installation." import urllib, re, xml.dom.minidom nodeList = nodeList.childNodes rc = " for node in nodeList: if node.nodeType == node.TEXT_NODE: rc = rc + node.data return rc self.id = self.title = name xmlData = . xmlData = rtmpUrl = . return rtmpUrl self._profile = profile self.id = xmlData = . xmlData = trackElements = tracks = for track in trackElements: print "Found track", .title, "(" + + ")" return tracks self.name = name self.profile_link = profile_link self._html = . self.friendId = if None != self.friendId: self.friendId = self.artistId = if None != self.artistId: self.artistId = _reArtistId = _reFriendId = if None != self.artistId: return True return False playlists = tracks = for playlist in playlists: return tracks xmlData = . xmlData = playlists = playlistsElements = for playlist in playlistsElements: return playlists # Store profile information profiles = for profile in : profile = # Make sure we are a band page if True == : print "Profile", profile.name, "loaded." else: print "Profile", profile.name, "is not a band profile." print " # Get tracks tracks = for profile in profiles: print "Loading tracks for", profile.name print " # Download tracks with rtmpdump print "Downloading", , "tracks" for track in tracks: print "Downloading", track.title + "..." . print "\nConverting", track.title + "..." . . print "Done.\n" print "\nFinished." |