2012-09-27, 16:02
(2012-09-27, 06:42)fekker Wrote: as netflix api has always been a mixed bag of crazy when it returns it's results
This pretty much answers the question about the regex's.
I had pretty much figured that this was the case. I'm reasonably familiar with regex's in general, so that's not really the problem for me - I was just figuring that the Netflix.py already retrieved the items in JSON, so might as well use those objects as they are returned instead of munging the string representation of it.
On a side note, using the objects directly in the <dict> fixes a lot of character encoding issues (took me a while to figure out that u'some string' = unicode object in python. Now instead of stripping quotes and other characters, you can decode to utf-8 directly with the object (which is nice).