mirror of
https://github.com/anthonyaxenov/iptv.git
synced 2024-12-22 14:26:26 +00:00
Fixed EXTINF regex
This commit is contained in:
parent
1cf76de025
commit
b93ab57c63
@ -42,7 +42,7 @@ awk '
|
||||
}
|
||||
{
|
||||
sub("\r$", "", $0) # crlf -> lf
|
||||
if ($0 ~ /^#EXTINF\:.+,/) {
|
||||
if ($0 ~ /^#EXTINF:.+,/) {
|
||||
total_count++
|
||||
channel_name = substr($0, index($0, ",") + 1, length($0))
|
||||
print "[" total_count "] " channel_name "..."
|
||||
|
Loading…
Reference in New Issue
Block a user