Check-in [747bc65a0b]
Comment: | Move reddit into distributed plugins, add some midi subreddits. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
747bc65a0b11c99e2318a96a42a3ae68 |
User & Date: | mario on 2016-11-07 16:28:18 |
Other Links: | manifest | tags |
2016-11-08
| ||
20:01 | Add Windows support (taskkill instead of pkill) check-in: 20cd77b794 user: mario tags: trunk | |
2016-11-07
| ||
16:28 | Move reddit into distributed plugins, add some midi subreddits. check-in: 747bc65a0b user: mario tags: trunk | |
14:37 | Shorten plugins with new init2() callback. check-in: e98ac20fc6 user: mario tags: trunk | |
Modified channels/reddit.py from [46f1758ac3] to [02442ae6d3].
1 2 | 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 | - + - + - + + | # encoding: UTF-8 # api: streamtuner2 |
90 91 92 93 94 95 96 | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | - + | "ElectronicBlues", "electrohouse", #"electronicmagic", "ElectronicMusic", "electropop", "electroswing", #"ExperimentalMusic", "fidget", "frenchelectro", "frenchhouse", "funkhouse", "futurebeats", "FutureFunkAirlines", "FutureGarage", "futuresynth", "gabber", "glitch", "Grime", "happyhardcore", "hardhouse", "hardstyle", "house", "idm", "industrialmusic", "ItaloDisco", "latinhouse", "LiquidDubstep", "mashups", "minimal", "moombahcore", |
207 208 209 210 211 212 213 214 215 216 217 218 219 220 | 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 | + + + + + + | "phish", "Pinback", "PinkFloyd", "porcupinetree", "prettylights", "Puscifer", "Queen", "Radiohead", "RATM", "RedHotChiliPeppers", "The_Residents", "RiseAgainst", "Rush", "SigurRos", "Slayer", "slipknot", "SmashingPumpkins", "SparksFTW", "TeganAndSara", "TheKillers", "TheOffspring", "TheStrokes", "TheMagneticZeros", "tragicallyhip", "ToolBand", "U2Band", "Umphreys", "UnicornsMusic", "velvetunderground", "Ween", "weezer", "WeirdAl", "yesband", "Zappa"], "DJs / Playlist →", ["DJs", "PirateRadio", "Spotify", "Turntablists", "GroveSharkPlaylists"], "Midi", ["midimusic", "MidiCovers", "ModernMidiMusic", "StarboundSongbase", "synthesizers"], ] # static def update_categories(self): pass |
252 253 254 255 256 257 258 | 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 | - + - + | # convert r = [] for row in (ls["data"] for ls in data): # find links in text posts text_urls = re.findall("\]\((https?://(?:www\.)?youtu[^\"\'\]\)]+)", row.get("selftext", "")) |