Skip to content

Commit

Permalink
MetaCritic special Character Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
salRoid committed Oct 15, 2017
1 parent 76d78f3 commit 289e692
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1065,6 +1065,7 @@ public void onClick(View v) {

else {
String smallTitle = movie_title_hyphen.toLowerCase();
smallTitle = smallTitle.replaceAll("[^0-9-a-z]","");
final String url = "http://www.metacritic.com/movie/"+smallTitle;
int metasco_rating = Integer.valueOf(metascore_rating);
if (metasco_rating > 60)
Expand Down

0 comments on commit 289e692

Please sign in to comment.