steeve/xbmctorrent — pull request #153 by rata (2014-05-20 23:57:29+00:00)
Title: Improvements to eztv scraper on raspberrypi

Hi!

These commits avoids using BeautifulSoup on the eztv scraper. The reason is that it is REALLY slow (improvements from ~45 seconds to ~10 seconds) on the raspberry pi AND the parsing we need to do is really simple.

So, instead of using BeautifulSoup this set of patches replaces them with regex. This work way faster on the pi (and, of course, perfectly fine on desktops too).

The last commit is quite simple and moves a call to ".result()" to wait for the result of something just after we need to use it. I didn't measure that change, but seems really simple.

If you have any comments, please let me know

Thanks a lot,
Rodrigo