예제 #1
0
 def get_quantity(self, src):
     return Parser.parse_from_re(src, u'<span>已售<em class="J_current_join">([\d]+)</em>份</span>')
예제 #2
0
 def get_description(self, src):
     return Parser.parse_from_re(src, u'<meta name="Description" content="(.+?)"/>')
예제 #3
0
 def get_title(self, src):
     return Parser.parse_from_re(src, u'<title>(.+?)</title>')
예제 #4
0
 def get_quantity(self, src):
     return Parser.parse_from_re(src, u'<span class="intro-strong">([\d]+)</span>人已团购</div>')
예제 #5
0
 def get_quantity(self, src):
     return Parser.parse_from_re(src, u'<span class="" >已售<span class="deal-component-rating-sold-count hidden orange">([\d]+)</span>')
예제 #6
0
 def get_quantity(self, src):
     return Parser.parse_from_re(src, u'<span>已售<strong>([\d]+)</strong></span>')