From e74cc741ef6de7243638c5d21daf7496762df8d1 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Fri, 30 Apr 2021 13:20:23 +0430 Subject: [PATCH] #109 excluding "vazn" urls --- RMuseum/Services/Implementation/GanjoorService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RMuseum/Services/Implementation/GanjoorService.cs b/RMuseum/Services/Implementation/GanjoorService.cs index 1a4fdcc7..47ec5f21 100644 --- a/RMuseum/Services/Implementation/GanjoorService.cs +++ b/RMuseum/Services/Implementation/GanjoorService.cs @@ -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) {