Fix the path error under Linux. Specify Python3 as the runtime.

This commit is contained in:
RRRRRm
2019-08-05 03:00:35 +08:00
parent 642c8103c7
commit 1086447369
7 changed files with 31 additions and 24 deletions

3
fc2fans_club.py Normal file → Executable file
View 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'))