Check-in [b9af78503d]
Overview
Comment: | Fully replace ahttp.ajax with ahttp.get() wrapper |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b9af78503df83d4efe374bbe0893506d |
User & Date: | mario on 2014-04-27 22:48:23 |
Other Links: | manifest | tags |
Context
2014-04-28
| ||
00:19 | Adapted DMOZ retrieval to changed HTML check-in: a44d5a6e74 user: mario tags: trunk | |
2014-04-27
| ||
23:33 | Experimental Xiph.org JSON API (doesn't work) check-in: a1c4d0960a user: mario tags: xiphjson | |
22:48 | Fully replace ahttp.ajax with ahttp.get() wrapper check-in: b9af78503d user: mario tags: trunk | |
22:19 | Python3 support back into trunk check-in: 9ecea4fb26 user: mario tags: trunk | |
Changes
Modified ahttp.py from [4f43fe032b] to [cfbb6a842e].
︙ | |||
8 9 10 11 12 13 14 | 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 | - - - + - + + + + - + - - + + + + + - - - - - - + - - - | # # Provides a http GET method with gtk.statusbar() callback. # And a function to add trailings slashes on http URLs. # # |
︙ |
Modified channels/musicgoal.py from [faf1e3671e] to [487d9e3db3].
︙ | |||
66 67 68 69 70 71 72 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | - + | elif cat in self.radio: grp = "radio" url = self.api_radio % cat.lower().replace(" ","").replace("&","") else: return [] # retrieve API data |
︙ |
Modified channels/myoggradio.py from [6c4dac0144] to [68cf24bd7d].
︙ | |||
153 154 155 156 157 158 159 | 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | - + - + - + | "typ": e["format"][6:], "eintragen": "eintragen", # form } # just push data in, like the form does if form: self.login() |
Modified channels/xiph.py from [e14b45bb99] to [04e8c2b58d].
︙ | |||
117 118 119 120 121 122 123 | 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | - + + | def update_streams(self, cat, search=""): # there is actually just a single category to download, # all else are virtual if (cat == "all"): #-- get data |
︙ |
Modified favicon.py from [983556d34c] to [b3ed705ebd].
︙ | |||
84 85 86 87 88 89 90 | 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 | - + | # extract first title parts title = rx_t.search(row["title"]) if title: title = title.group(0).replace(" ", "%20") # do a google search |
︙ |