summaryrefslogtreecommitdiff
path: root/default.py
AgeCommit message (Collapse)Author
2017-11-25A dummy cache to disable caching when neededTzafrir Cohen
2017-11-25parallel (multithreaded) parsing of main pagesTzafrir Cohen
Parsing each item requires fetching a URL. This should be done in parallel. Moving this task to worker threads. Each thread writes the results to its own index in the result array.
2017-11-25remove caching of downloaded HTML pagesTzafrir Cohen
Simplecache seems to be horribly slow, and is a point of contention for multithreaded downloaders (in future commit). Leave it only for the kodi page data: this really saves work.
2017-11-25cache specific program pagesTzafrir Cohen
Cache just as before. Add a simple checksum of the program name (basically: crc32 of the title) to invalidate cache if numbering changes.
2017-11-24cache top program pagesTzafrir Cohen
It seems that caching the downloaded pages is not useful enough. It only cuts the time of the programs page from 42 seconds to 25 seconds. So let's just cache the reuslting entries.
2017-11-23Add support for net-showsTzafrir Cohen
It turns out those are basically the same as youtube-played shows
2017-11-23Use the USER_AGENT constantTzafrir Cohen
2017-11-23basic caching of downloaded pagesTzafrir Cohen
Use the simplecache addon to cache downloaded pages.
2017-11-13Rename addon.py -> default.pyTzafrir Cohen