Browse Source

contrib update

miguelfreitas
Miguel Freitas 11 years ago
parent
commit
08cdee8999
  1. 2
      contrib/posts_sync.py

2
contrib/posts_sync.py

@ -73,7 +73,7 @@ pq = PyQuery(html.decode('utf8')) @@ -73,7 +73,7 @@ pq = PyQuery(html.decode('utf8'))
### parse html
items = pq(".content")
items = pq(".StreamItem")
for i in xrange(len(items)-1,0,-1):
item = items.eq(i)
datatime = int(item.find("[data-time]").attr("data-time"))

Loading…
Cancel
Save