Exit code 1 File "", line 41 if '\' in url: ^ SyntaxError: unterminated string literal (detected at line 41); perhaps you escaped the end quote?