mirror of
https://github.com/abc1763613206/myiptv.git
synced 2025-12-18 15:54:38 +08:00
This commit is contained in:
@@ -9,6 +9,8 @@ url = 'http://epg.51zmt.top:8000/upload/'
|
||||
|
||||
def get_epg(a, b):
|
||||
f = os.path.join(a, b)
|
||||
if ('utf8' in f) or ('ignored' in f):
|
||||
return
|
||||
files = {'myfile': open(f,'rb')}
|
||||
print('Converting {}'.format(f))
|
||||
r = requests.post(url,files=files)
|
||||
|
||||
Reference in New Issue
Block a user