示例#1
0
 def __init__(self):
     RssBasedExtractor.__init__(self)
     self._titlePattern = re.compile(r'([^,]*,[^,]*).*\s+(\S+)\s+-\s+GBP\s+(\S+)\s+(\S+)')
     self._descPattern = re.compile(r'<img\s+.*\s+src="(.*)"/>.*\[REF:(\w+)\]')
示例#2
0
 def __init__(self):
     RssBasedExtractor.__init__(self)
     self._titlePattern = re.compile(r'([^,]*,[^,]*).*\s+(\S+)\s+-\s+.(\d?,?\d+)\.\d+\s+-\s+\S+\s+(\S+)')
示例#3
0
 def __init__(self):
     RssBasedExtractor.__init__(self)
     self._titlePattern = re.compile(r'GBP\s+.([\d,]+)\s+(.*),\s+.*,\s+(\S+)')
     self._idPattern = re.compile(r'(\w+)$')
     self._descPattern = re.compile(r'img src="([^"]*)".*>(.*)')
示例#4
0
 def __init__(self):
     RssBasedExtractor.__init__(self)
     self._titlePattern = re.compile(r'(\d?,?\d+)\.?.*\s+per\s+(week|month)\s+(.*),\s+(\S+)')
     self._idPattern = re.compile(r'(\w+)$')
     self._descPattern = re.compile(r'img src="([^"]*)".*>(.*)\. Contact Foxtons')