Comments (12)
Hi @FrancYescO , thanks for the interest on iptvtools
. May I know the purpose of the special character? Or more specifically, what is your suggestion on dealing with similar situations? For example, removing all special characters should be easy, but I am not sure whether there is any side effect.
from iptvtools.
i think this character is just a bad typo from the list creator, best thing is to just leave the name as is, in my specific case i don't care this channel as my --group-include
flag does not include it, but the issue is that iptv-filter is just unable to parse the input list and give an output if there is any channel with this weird character in.
from iptvtools.
Actually, regular expression is used to parse each line of the list. Seems it is just the special character that leads to unexpected behavior of the parsing. If there is no special meanings at least we can filter those characters before throw it to the regular expression. I will double check whether it will affect the final output. For temporary mitigation, you can simple remove that character and run the script again. I was busy these days, so there might be no guarantee when it will be fixed. Anyway, thanks for the reporting, we can track the progress by this issue.
from iptvtools.
Surely i can remove the character, but my main use of iptvtools
is using it to parse a daily updated/downloaded list (mainly not under my control) from an automated sh cron script, so i just figured out that the update was broken and found this culprit as workaround i'll do some sort of pre-parsing before giving the downloaded m3u to iptvtools
:D
from iptvtools.
Gotcha, I can SOFT commit to fix this problem as early as possible which means it is expected to be done in this weekend. Feel free to ping me if you are in a hurry. :-)
from iptvtools.
Hi @FrancYescO, a new version v0.2.5 [1] is uploaded. Could you please help me to double check it?
[1] https://pypi.org/project/iptvtools/0.2.5/
from iptvtools.
Same error, probably actually is fully broken also for normal lists.
from iptvtools.
OK, I yanked that release. Sorry for release a rush version on the way.
from iptvtools.
Hi @FrancYescO Could you please provide the playlist or tell me how to get the error case for test?
from iptvtools.
Copy and paste the list from the first post to an m3u file
from iptvtools.
OK, I have to admit I underestimated the problem just now. Please help me to check the version 0.2.6 again. Thanks in advance.
https://pypi.org/project/iptvtools/0.2.6/
from iptvtools.
At least in the test case, 0.2.6 is working, i'll back to you if i'll find any issue.
from iptvtools.
Related Issues (16)
- custom sorting HOT 12
- skip connectivity check
- Can't run script on raspberry pi HOT 5
- The script sometimes fails HOT 2
- NL character cause AttributeError: 'NoneType' object has no attribute 'groupdict'
- ValueError: invalid literal for int() with base 10 HOT 4
- AttributeError: module 'socket' has no attribute 'SO_REUSEPORT'. Did you mean: 'SO_REUSEADDR'? HOT 2
- TypeError: expected string or bytes-like object
- group-include filter enhencement HOT 3
- Discussion HOT 28
- Issue when creating man pages HOT 1
- Check whether ffprobe/ffmpeg is installed when specifying `--min-height` option and show necessary help message.
- Add option to append resolution to channel name.
- Iptv HOT 4
- filter by group HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iptvtools.