mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-04 10:42:04 +00:00
Improve compatibility with some subscription links with spaces
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -1169,7 +1169,7 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
|
|||||||
string_array stream_temp = safe_get_streams(), time_temp = safe_get_times();
|
string_array stream_temp = safe_get_streams(), time_temp = safe_get_times();
|
||||||
for(std::string &x : urls)
|
for(std::string &x : urls)
|
||||||
{
|
{
|
||||||
x = trim(x);
|
x = regTrim(x);
|
||||||
//std::cerr<<"Fetching node data from url '"<<x<<"'."<<std::endl;
|
//std::cerr<<"Fetching node data from url '"<<x<<"'."<<std::endl;
|
||||||
writeLog(0, "Fetching node data from url '" + x + "'.", LOG_LEVEL_INFO);
|
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)
|
if(addNodes(x, nodes, groupID, proxy, exclude_remarks, include_remarks, stream_temp, time_temp, subInfo, authorized) == -1)
|
||||||
|
|||||||
Reference in new issue
Block a user