Skip to content

Commit 5139fff

Browse files
committed
update m3u_pattern regex
1 parent edd415a commit 5139fff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/lib/twitch/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
_m3u_pattern = re.compile(
77
r'#EXT-X-MEDIA:TYPE=VIDEO.*'
8-
r'GROUP-ID="(?P<group_id>.\w*)",'
9-
r'NAME="(?P<group_name>\w*)"[,=\w]*\n'
8+
r'GROUP-ID="(?P<group_id>[^"]*)",'
9+
r'NAME="(?P<group_name>[^"]*)"[,=\w]*\n'
1010
r'#EXT-X-STREAM-INF:.*\n('
1111
r'?P<url>http.*)')
1212

0 commit comments

Comments
 (0)