Fix bug when episodes have 'table' in their name

This commit is contained in:
zvon 2019-01-23 00:47:08 +01:00
parent ad0f081a3c
commit a7a0976c30

View File

@ -42,7 +42,7 @@ void singleSeason( const std::string &path, const std::string &show, int season,
auto pos = season_code.find("\"translations\"");
if( pos != std::string::npos ) {
season_code = season_code.substr(pos);
pos = season_code.find("table");
pos = season_code.find("</table>");
if( pos != std::string::npos )
season_code = season_code.substr(0,pos);
else