100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
cache = conf.load("cache/catmap_" + self.module)
if (cache):
self.catmap = cache
pass
# download links from dmoz listing
def update_streams(self, cat, force=0):
url = "http://modarchive.org/index.php"
params = dict(query=self.catmap[cat], request="search", search_type="genre")
html = http.get(url, params)
entries = []
rx_mod = re.compile("""
|
|
|
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
cache = conf.load("cache/catmap_" + self.module)
if (cache):
self.catmap = cache
pass
# download links from dmoz listing
def update_streams(self, cat):
url = "http://modarchive.org/index.php"
params = dict(query=self.catmap[cat], request="search", search_type="genre")
html = http.get(url, params)
entries = []
rx_mod = re.compile("""
|