2008-11-10, 21:43
^Mask^ Wrote:Ok about 20 proxy's did the trick I tried the updated regex, but unfortunately didnt work:The regex is still not valid! it still has a [^] group in it.
Code:20081110 23:05:24 - CRITICAL - common.py - 102 - error regexing
20081110 23:05:24 - CRITICAL - common.py - 102 - | Traceback (most recent call last):
20081110 23:05:24 - CRITICAL - common.py - 102 - | File "Q:\scripts\XOT-Uzg.v3\resources\libs\common.py", line 99, in DoRegexFindAll
20081110 23:05:24 - CRITICAL - common.py - 102 - | result = re.compile(regex, re.DOTALL + re.IGNORECASE)
20081110 23:05:24 - CRITICAL - common.py - 102 - | File "Q:\system\python\python24.zlib\sre.py", line 180, in compile
20081110 23:05:24 - CRITICAL - common.py - 102 - | File "Q:\system\python\python24.zlib\sre.py", line 227, in _compile
20081110 23:05:24 - CRITICAL - common.py - 102 - | error: unexpected end of regular expression
I copied and pasted the script you updated and uploaded to pastebin (thanks for that), which included this regex (http://www.pastebin.ca/1250133):
Code:self.videoItemRegex = '<item>W+?<title>([^<]+?)</title>W+?<link>([^<]+?)</link>[^<]+?<pubDate>([^>]+?)</pubDate>[^>]+?summary>([^<]+?)<[^<]+?>[^]+?</item>'
Any other ideas what this could be? I'm not good at regex's, but starting to understand what its grouping and grabbing.
I really appreciate your efforts to provide me with advice and hope you can help me figure out what's going wrong.