pawanpaudel93 / m3u-parser

A parser for m3u files. It parses the contents of the m3u file to a list of streams information which can be saved as a JSON/CSV/M3U file.
MIT License
33 stars 16 forks source link

parse_m3u这个方法在线解析参数写错了 #1

Closed biancangming closed 3 years ago

biancangming commented 3 years ago

image 这块应该是path

pawanpaudel93 commented 3 years ago

@biancangming path can be url or file path. path is checked if it is url or not else it will be file path. urgparse(path).scheme !="" or re.search(self.__url_regex, path) checks if it is a url else it will be a file path. Did you have any problem ??

biancangming commented 3 years ago

你的源码将path写成url,导致此处报错,这是我修改后的结果 ^0^

pawanpaudel93 commented 3 years ago

@biancangming Thank you for pointing it out. I didn't get what you meant before and now another issue was raised and I understand what you were trying to say before... Thanks a lot.