Diff
Differences From Artifact [0aa81f09de]:
- File channels/dirble.py — part of check-in [09dec64f41] at 2016-12-16 16:26:55 on branch trunk — Reverted all `module = __name__` assignments, because that was carrying the module over, not the base classname. Added #extraction-method: meta information to channel plugins. (user: mario, size: 6286) [annotate] [blame] [check-ins using]
To Artifact [3e36e0af87]:
- File channels/dirble.py — part of check-in [0c7040e314] at 2016-12-18 14:04:19 on branch trunk — Add more .progress() indication (user: mario, size: 6311) [annotate] [blame] [check-ins using]
79 80 81 82 83 84 85 86 87 88 89 90 91 92 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | + | for c in row["children"]: self.catmap[c["title"]] = c["id"] self.categories = cats # Fetch entries def update_streams(self, cat, search=None): self.progress(1) return [ self.unpack(r) for r in self.api("category/{}/stations".format(self.catmap.get(cat, 0)), all=1)# per_page=200 won't work ] |