@@ -39,7 +39,7 @@ def clip_embed_wrapper(*args, **kwargs):
3939
4040
4141def m3u8_to_dict (string ):
42- log .debug ('m3u8_to_dict called for:\n {}' .format (string ))
42+ log .debug ('m3u8_to_dict called for:\n {0 }' .format (string ))
4343 d = dict ()
4444 matches = re .finditer (_m3u_pattern , string )
4545 for m in matches :
@@ -51,12 +51,12 @@ def m3u8_to_dict(string):
5151 'url' : m .group ('url' ),
5252 'bandwidth' : int (m .group ('bandwidth' ))
5353 }
54- log .debug ('m3u8_to_dict result:\n {}' .format (d ))
54+ log .debug ('m3u8_to_dict result:\n {0 }' .format (d ))
5555 return d
5656
5757
5858def m3u8_to_list (string ):
59- log .debug ('m3u8_to_list called for:\n {}' .format (string ))
59+ log .debug ('m3u8_to_list called for:\n {0 }' .format (string ))
6060 l = list ()
6161 matches = re .finditer (_m3u_pattern , string )
6262 for m in matches :
@@ -69,12 +69,12 @@ def m3u8_to_list(string):
6969 'bandwidth' : int (m .group ('bandwidth' ))
7070 })
7171
72- log .debug ('m3u8_to_list result:\n {}' .format (l ))
72+ log .debug ('m3u8_to_list result:\n {0 }' .format (l ))
7373 return l
7474
7575
7676def clip_embed_to_list (string ):
77- log .debug ('clip_embed_to_list called for:\n {}' .format (string ))
77+ log .debug ('clip_embed_to_list called for:\n {0 }' .format (string ))
7878 match = re .search (_clip_embed_pattern , string )
7979 l = list ()
8080 if match :
@@ -93,5 +93,5 @@ def clip_embed_to_list(string):
9393 'bandwidth' : - 1
9494 })
9595
96- log .debug ('clip_embed_to_list result:\n {}' .format (l ))
96+ log .debug ('clip_embed_to_list result:\n {0 }' .format (l ))
9797 return l
0 commit comments