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 urllib
import re
from config import conf, __print__, dbg
from pq import pq
#from channels import * # works everywhere but in this plugin(???!)
import channels
# SHOUTcast data module ----------------------------------------
class shoutcast(channels.ChannelPlugin):
# desc |
<
>
| 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 |