Check-in [f56be1b41d]
Overview
| Comment: | use compat2and3.urllib functions |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | py3 |
| Files: | files | file ages | folders |
| SHA1: |
f56be1b41d4e964208d95c10e3d5e189 |
| User & Date: | mario on 2014-04-11 02:53:54 |
| Other Links: | branch diff | manifest | tags |
Context
|
2014-04-11
| ||
| 02:54 | Open json/config files in text mode check-in: 8e8ad5dfeb user: mario tags: py3 | |
| 02:53 | use compat2and3.urllib functions check-in: f56be1b41d user: mario tags: py3 | |
| 02:53 | Add icons check-in: 9525b6b42e user: mario tags: py3 | |
Changes
Modified channels/shoutcast.py from [dd8d75b19e] to [bd702545cd].
| ︙ | ︙ | |||
15 16 17 18 19 20 21 | # to defaulting to regex extraction instead of HTML parsing & DOM extraction. # # # import ahttp as http | < > | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# to defaulting to regex extraction instead of HTML parsing & DOM extraction.
#
#
#
import ahttp as http
import re
from config import conf, __print__, dbg
from pq import pq
#from channels import * # works everywhere but in this plugin(???!)
import channels
from compat2and3 import urllib
# SHOUTcast data module ----------------------------------------
class shoutcast(channels.ChannelPlugin):
# desc
|
| ︙ | ︙ |