g0ldyy / comet

Stremio's fastest torrent/debrid search add-on.
MIT License
136 stars 24 forks source link

Separate Latin Language from Spanish #135

Closed XDeadHackerX closed 1 week ago

XDeadHackerX commented 2 weeks ago

Good morning again,

Sorry to write another issue, I do not like to give work to developers but yesterday I was testing Comet configured with the language “Spanish” and most of the results that appeared with the flag of Spain really the audio is Latin 🇲🇽. I was looking at the name of the torrents and in most of them it says LATINO.

I know this is a delicate issue and many torrent sites classify the latin torrents as Spanish, but if you could do something to solve this problem our community would be very grateful.

In case it is a complicated task I can think of two possible solutions to reduce the results, although I don't know if these solutions are feasible. 1º) In the Spanish language Remove the results of the provider “Cinecalidad” since all of them are in Latin. 2º) Use regular expressions in the name of the torrent and thus filter it, if it takes “SPA” to appear in the results of Spanish, if it takes “LATINO or LATIN” to appear in the Latin language.

Thank you very much for such a great Addon and its public hosting.

imagen

g0ldyy commented 1 week ago

@dreulavelle what do you think about that?

dreulavelle commented 1 week ago

I can see what I can do. What exactly are you looking for though? Differentiating Spanish from Latin?

dreulavelle commented 1 week ago

Oh I see, just need to separate the Latino rehex from the Spanish one. That's an easy fix.

I can add the group you mentioned to for Spanish as well

dreulavelle commented 1 week ago

To help me improve the regex, torrent titles help me the most! If you have other issues, please be sure to include a snippet of torrent names and the desired result. Then I can add changes and create tests to ensure everything is working beautifully. :)

XDeadHackerX commented 1 week ago

Nice to meet you @dreulavelle, indeed my idea is to separate the two languages, Spanish (🇪🇸) and Latin (🇲🇽), this way the people who want to use Comet to see content in Latin will select the flag “🇲🇽” and the Spaniards who want to see the content in Spanish will choose this “🇪🇸”. Next I am going to put you some of the regular expressions used by the creators of the torrent titles.

Spanish(🇪🇸): Esp, esp, Spa, spa, SPANISH, SPANiSH, Spanish, spanish

Latino(🇲🇽): Lat, lat, LATINO, Latino, latino, latino, LATIN, Latin, latin.

In principle there are no more options, thank you very much for taking into account this annoying error, thanks to these changes to the Spanish community will only appear results in our language and Latinos in theirs. I will be attentive to the changes in case I missed something.

Thanks guys!

dreulavelle commented 1 week ago

Isn't latin its own language thats separate from latino ?

dreulavelle commented 1 week ago

Alright, this has been fixed! :)

XDeadHackerX commented 1 week ago

Thank you very much @dreulavelle, this is a great change for our community, when @g0ldyy applies the changes I will do some tests to study how it works and if any latin torren escapes.

"Isn't latin its own language thats separate from latino ?" Yes, the latin and the latino are diferents lenguages, but sometimes the torrents creatos use this name to refer to latino idiom

g0ldyy commented 1 week ago

Thank you very much @dreulavelle, this is a great change for our community, when @g0ldyy applies the changes I will do some tests to study how it works and if any latin torren escapes.

"Isn't latin its own language thats separate from latino ?" Yes, the latin and the latino are diferents lenguages, but sometimes the torrents creatos use this name to refer to latino idiom

https://github.com/g0ldyy/comet/commit/24216678b8fca0ab8edd48d239fb772f06712b5f 👀

XDeadHackerX commented 1 week ago

Thank you very much @dreulavelle, this is a great change for our community, when @g0ldyy applies the changes I will do some tests to study how it works and if any latin torren escapes.

"Isn't latin its own language thats separate from latino ?" Yes, the latin and the latino are diferents lenguages, but sometimes the torrents creatos use this name to refer to latino idiom

https://github.com/g0ldyy/comet/commit/24216678b8fca0ab8edd48d239fb772f06712b5f 👀

Thank you much @g0ldyy , and very funny the emoji representing the "Latino" language 😂😂💃.

Could you upload the mods to the free elfhosted stay so I can test it. Thanks.

g0ldyy commented 1 week ago

Thank you very much @dreulavelle, this is a great change for our community, when @g0ldyy applies the changes I will do some tests to study how it works and if any latin torren escapes. "Isn't latin its own language thats separate from latino ?" Yes, the latin and the latino are diferents lenguages, but sometimes the torrents creatos use this name to refer to latino idiom

2421667 👀

Thank you much @g0ldyy , and very funny the emoji representing the "Latino" language 😂😂💃.

Could you upload the mods to the free elfhosted stay so I can test it. Thanks.

done, added to the public instance :)