Comments (5)
Why not use a search url:
https://yts.mx/browse-movies/The Godfather/all/all/0/latest/1972/all
.
any way to fix this?
Could be fixed by changing this line:
var search_string = movie_title.trim().replace(/ +\(.*|&|:/g, '').replace(/\s+/g, space_replace);
To this:
var search_string = movie_title.trim().replace(/ +\(.*|&|:/g, '').replace(/\s+/g, space_replace).toLowerCase();
But maybe that would break a search on some other site[s]...
from imdb-scout-mod.
Why not use a search url:
https://yts.mx/browse-movies/The Godfather/all/all/0/latest/1972/all
omg dude, I was blind the whole time I didn't see the Browse Movies section, thanks you are a lifesaver.
but one other question if you don't mind, I'm struggling with some sites that even they don't have the move title that I'm looking for the search result is still green, for example, this one, as you can see the title is long and of course there's no anime matching this title, but still, the search results still come back green, I treed matchRegex and loggedOutRegex but couldn't fixe it. is there any way to tell the code if the site has the exact title that I'm looking for comeback as green, if there was no matching title don't come back as a green, cuz I don't want any other title suggestion, or any way to fix this?
from imdb-scout-mod.
I'm struggling with some sites that even they don't have the move title that I'm looking for the search result is still green, for example, this one,...
If search returns random results then nothing you can do. And exact search string is just there in the search field... so, a title will be always matched.
Add such non-searchable sites to the icon sites section.
Btw, if you won't add sites with "Pull request" then your custom edits will disappear after update.
from imdb-scout-mod.
Btw, if you won't add sites with "Pull request" then your custom edits will disappear after update.
I spend houser customizing my custom sites, thanks's god that you mentioned that cuz I don't know what's "Pull request" and how to do it
If search returns random results then nothing you can do. And exact search string is just there in the search field... so, a title will be always matched. Add such non-searchable sites to the icon sites section.
I was thinking the same think when I said it, but there's one way around to avoid that, mabye they can add this kinda code to the script
'MatchedString': /%search_string%/, this line of code teel the script that we are looking for this String that we want to matched
'HowManyString': /2/ this line of code tells the search result if there are two or matched strings or higher than two the search will return green, if fewer than two return red, I don't know if that is doable or worth the effort.
from imdb-scout-mod.
I was thinking the same think when I said it, but there's one way around to avoid that, mabye they can add this kinda code to the script
'MatchedString': /%search_string%/, this line of code teel the script that we are looking for this String that we want to matched 'HowManyString': /2/ this line of code tells the search result if there are two or matched strings or higher than two the search will return green, if fewer than two return red, I don't know if that is doable or worth the effort.
But there are not 2, but exactly 69 matched strings, maybe tomorrow there will be 55 or 72...
Red is only for "search is not possible", for "not found" - yellow.
I don't know what's "Pull request" and how to do it.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
Easiest way is just to press on "IMDb_Scout_Mod.user.js" and then Edit button.
from imdb-scout-mod.
Related Issues (20)
- Title and Original title are not picked up HOT 16
- links/searches not working HOT 1
- Please add Easynews search HOT 3
- External Ratings Additions - MAL + AniList HOT 6
- RARBG Official Site HOT 1
- Aither not working HOT 2
- torrentgalaxy issue with false positives HOT 3
- Doesn't run in FireMonkey HOT 4
- Request Add New Site HOT 1
- https://v2.vidsrc.me/ is redirected to https://vidsrc.me HOT 1
- Suggestion: Burning Series HOT 2
- feature request: open result from https://filmfans.org/ HOT 1
- feature request: magnetdl.com HOT 1
- OnlyEncodes HOT 3
- does therarbg.com work? HOT 1
- ofdb.de seems not work HOT 1
- Filmweb HOT 1
- How can I get the old IMDb layout? HOT 1
- Psarips New Domain HOT 2
- Enable the 3rd search bar didn't work HOT 9
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 imdb-scout-mod.