#109 excluding "vazn" urls

This commit is contained in:
Hamid Reza Mohammadi 2021-04-30 13:20:23 +04:30
parent 3f7aa6a3b2
commit e74cc741ef

View File

@ -2192,7 +2192,7 @@ namespace RMuseum.Services.Implementation
foreach (string url in hrefs)
{
if (url == "https://ganjoor.net" || url == "https://ganjoor.net/")
if (url == "https://ganjoor.net" || url == "https://ganjoor.net/" || url.IndexOf("https://ganjoor.net/vazn/?") == 0)
continue;
if (url.IndexOf("http://ganjoor.net") == 0)
{