Giter VIP home page Giter VIP logo

Comments (12)

huxuan avatar huxuan commented on June 18, 2024

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.

FrancYescO avatar FrancYescO commented on June 18, 2024

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.

huxuan avatar huxuan commented on June 18, 2024

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.

FrancYescO avatar FrancYescO commented on June 18, 2024

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.

huxuan avatar huxuan commented on June 18, 2024

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.

huxuan avatar huxuan commented on June 18, 2024

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.

FrancYescO avatar FrancYescO commented on June 18, 2024

Same error, probably actually is fully broken also for normal lists.

from iptvtools.

huxuan avatar huxuan commented on June 18, 2024

OK, I yanked that release. Sorry for release a rush version on the way.

from iptvtools.

huxuan avatar huxuan commented on June 18, 2024

Hi @FrancYescO Could you please provide the playlist or tell me how to get the error case for test?

from iptvtools.

FrancYescO avatar FrancYescO commented on June 18, 2024

Copy and paste the list from the first post to an m3u file

from iptvtools.

huxuan avatar huxuan commented on June 18, 2024

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.

FrancYescO avatar FrancYescO commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.