add some new feature, but it is not working now

This commit is contained in:
EstrellaXD
2022-05-18 22:40:25 +08:00
parent f54df0e675
commit 7df02665d1
3 changed files with 58 additions and 31 deletions

View File

@@ -2,12 +2,9 @@ import re
import requests
url = "http://192.168.200.2"
try:
r = requests.get(url)
print(r.content)
except ConnectionError:
print("e")
except KeyboardInterrupt:
print("end")
name = "[IET字幕组][闪电十一人 FF篇][01][1080P][WebRip][繁日双语][AVC AAC][MP4]"
split_rule = r"\[|\]|\【|\】|\★|\|\|\(|\)"
n = re.split(split_rule, name)
while '' in n:
n.remove('')
print(n)