Your Name 6 жил өмнө
parent
commit
7961214bab

+ 1 - 2
hg3535/spiders/roll_lanqiu.py

@@ -66,8 +66,7 @@ class LanqiuSpider(scrapy.Spider):
                     for es in egs:
                         es = es['es']
                         for e in es:
-                            # match_id = e['i'][16]
-                            match_id = 3460582
+                            match_id = e['i'][16]
                             self.rls.sadd('hg3535.gunqiu.ids', match_id)
                             up_time = str(time.time()) + '&' + 'lq'
                             self.rls.hset('hg3535.ball.ids', match_id, up_time)