diff --git a/functions.cpp b/functions.cpp index 47defb4..e2e3975 100644 --- a/functions.cpp +++ b/functions.cpp @@ -243,8 +243,6 @@ void findSeasons( std::map< int, std::set< string > > &seasons, } string getDefUrl( string &show, const string &language, Curl &c ) { - std::replace( show.begin(), show.end(), ' ', '+' ); - string base_url = TEXT( "https://www.thetvdb.com" ); #ifdef _WIN32 @@ -395,7 +393,6 @@ bool findLanguage( const char_t *language ) { std::vector< std::pair< string, string > > getPossibleShows( string show, const string &language, Curl &c ) { // encode show name so it can be resolved as url - std::replace( show.begin(), show.end(), ' ', '+' ); show = encodeUrl( show ); #ifdef _WIN32 auto source_code = utf8_to_wstring(