Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When query towards magnetdl has " : " in it, search will fail and result in {"error":"Website Blocked Change IP or Website Domain."} #68

Open
alternativ opened this issue Feb 13, 2024 · 0 comments

Comments

@alternativ
Copy link

As can be derived from the title, searchstring does not accomodate the use of " : ", when browsing for a title like avengers: endgame it will result in a failure, even though that is the official title as per the Omdb specs. Fix is fairly easy, replacing " : " by a space or " . ".

Logs:

INFO: #:56980 - "GET /api/v1/search?site=magnetdl&query=avengers&limit=1 HTTP/1.1" 200 OK
INFO: #:57017 - "GET /api/v1/search?site=magnetdl&query=avengers:endgame&limit=1 HTTP/1.1" 403 Forbidden

{"Title":"Avengers: Endgame","Year":"2019","Rated":"PG-13","Released":"26 Apr 2019","Runtime":"181 min","Genre":"Action, Adventure, Drama","Director":"Anthony Russo, Joe Russo","Writer":"Christopher Markus, Stephen McFeely, Stan Lee","Actors":"Robert Downey Jr., Chris Evans, Mark Ruffalo","Plot":"After the devastating events of Avengers: Infinity War (2018), the universe is in ruins. With the help of remaining allies, the Avengers assemble once more in order to reverse Thanos' actions and restore balance to the universe.","Language":"English, Japanese, Xhosa, German","Country":"United States","Awards":"Nominated for 1 Oscar. 70 wins & 133 nominations total","Poster":"https://m.media-amazon.com/images/M/MV5BMTc5MDE2ODcwNV5BMl5BanBnXkFtZTgwMzI2NzQ2NzM@._V1_SX300.jpg","Ratings":[{"Source":"Internet Movie Database","Value":"8.4/10"},{"Source":"Rotten Tomatoes","Value":"94%"},{"Source":"Metacritic","Value":"78/100"}],"Metascore":"78","imdbRating":"8.4","imdbVotes":"1,246,637","imdbID":"tt4154796","Type":"movie","DVD":"30 Jul 2019","BoxOffice":"$858,373,000","Production":"N/A","Website":"N/A","Response":"True"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant