from __futre__ import print_function
This commit is contained in:
parent
a9002374b1
commit
ec252440d9
14 changed files with 49 additions and 34 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vi:si:et:sw=4:sts=4:ts=4
|
||||
from __future__ import print_function
|
||||
import re
|
||||
|
||||
from ox import strip_tags, find_re
|
||||
|
|
@ -80,6 +81,6 @@ def parse_text(html, title):
|
|||
return strip_tags(find_re(html, '%s</td>.*?<td colspan="2"><p>(.*?)</td>' % title)).strip()
|
||||
|
||||
if __name__ == '__main__':
|
||||
print get_data('129689')
|
||||
# print get_data('177524')
|
||||
print(get_data('129689'))
|
||||
# print(get_data('177524'))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue