Coder Social home page Coder Social logo

Comments (5)

vagabondHustler avatar vagabondHustler commented on June 18, 2024

Sounds like a good implementation. Do you know any movies or TV shows on subscene that have 'Foreign language only ' subtitles? I'm not too familiar with that type of subtitles, so if you could suggest a few titles, it would be really helpful.

from subsearch.

vagabondHustler avatar vagabondHustler commented on June 18, 2024

It turns out that retrieving information about 'foreign parts only' from Subscene isn't as straightforward as I initially thought. While details like language and hearing-impaired options are available, the availability of subtitles exclusively for foreign parts is not.

However, I did notice that some subtitle uploaders mention the 'foreign parts only' information in the 'Comment' section. The problem is that different uploaders may use different phrases like 'foreign parts only' or 'non-English parts,' making it unreliable.

Modifying the cookie could work, found these values in the cookie.

DarkTheme=True; SortSubtitlesByDate=false; LanguageFilter=13; HearingImpaired=2; ForeignOnly=False; __cf_bm=<hash>;

But to be honest, I'm not familiar with that and would need to look up how to do that.

I have not checked the other sites yet, but will.

from subsearch.

ondrovic avatar ondrovic commented on June 18, 2024

@vagabondHustler no worries if it turns out to ne more trouble than it's worth not a big deal

from subsearch.

vagabondHustler avatar vagabondHustler commented on June 18, 2024

@ondrovic, I don't mind if it's much work. If this cookie thing isn't working for me, I think I might just implement some kind of feature where the user can define keywords like 'Foreign only,' 'Foreign parts only,' 'non-English.' Then, when scraping Subscene for subtitles, my app can check if those keywords are present in the subtitle comments. Additionally, I could include another feature where it ignores subtitle comments containing words like 'whatever,' providing the opposite effect.

Just gotta find some time to do all that :)

from subsearch.

vagabondHustler avatar vagabondHustler commented on June 18, 2024

This issue will be closed when PR #433 is merged. Further progress will be tracked in in Issue #434. It seems like implementing the same method for opensubtitles.org should be relatively straightforward. Unsure if it's possible to implement it for yifysubtitles.

from subsearch.

Related Issues (11)

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.