Fix the path error under Linux. Specify Python3 as the runtime.
This commit is contained in:
3
fc2fans_club.py
Normal file → Executable file
3
fc2fans_club.py
Normal file → Executable file
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
import re
|
||||
from lxml import etree#need install
|
||||
import json
|
||||
@@ -81,4 +82,4 @@ def main(number2):
|
||||
js = json.dumps(dic, ensure_ascii=False, sort_keys=True, indent=4, separators=(',', ':'),)#.encode('UTF-8')
|
||||
return js
|
||||
|
||||
#print(main('1051725'))
|
||||
#print(main('1051725'))
|
||||
|
||||
Reference in New Issue
Block a user