Commit 1c970e90 authored by Jonas's avatar Jonas

backport de la regexp de freeboxtv_importer.py (commit 88e79af0) dans freebox_assign_number.py

parent 88e79af0
......@@ -31,7 +31,7 @@ args = parser.parse_args()
pattern = re.compile("^#EXTINF:0,([0-9]+) - (.*) \(.*\)$")
pattern = re.compile("^#EXTINF:0,([0-9]+) - (.*?)(?: HD$| \(.*\)$|$)")
m3u = {}
r = requests.get(args.playlist_url)
if r.ok :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment