Improve compatibility with some subscription links with spaces

This commit is contained in:
Tindy X committed 2020-03-16 00:33:24 +08:00
1 parent 17ef7c6150
commit e26301cdf4
1 file changed
+1 -1
+1 -1
View File
@@ -1169,7 +1169,7 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
string_array stream_temp = safe_get_streams(), time_temp = safe_get_times();
for(std::string &x : urls)
{
x = trim(x);
x = regTrim(x);
//std::cerr<<"Fetching node data from url '"<<x<<"'."<<std::endl;
writeLog(0, "Fetching node data from url '" + x + "'.", LOG_LEVEL_INFO);
if(addNodes(x, nodes, groupID, proxy, exclude_remarks, include_remarks, stream_temp, time_temp, subInfo, authorized) == -1)