You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
303 B
14 lines
303 B
6 months ago
|
#!/usr/bin/python3
|
||
|
from splash.gysplash import SBase
|
||
|
import json
|
||
|
|
||
|
class SYgcg(SBase):
|
||
|
def open(self):
|
||
|
return super().open('ygcg', pages=2, annoucement_type='政府采购')
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
test = SYgcg()
|
||
|
r = test.open()
|
||
|
|
||
|
results = json.loads(r.text)
|
||
|
print(results)
|