Change UserAgent

I don't trust CFR that much
This commit is contained in:
Kenneth Bruen 2025-01-06 20:22:35 +01:00
parent a9f1838fd6
commit 88dd5a5314
Signed by: kbruen
GPG key ID: C1980A470C3EE5B1
3 changed files with 6 additions and 6 deletions
scraper/src/Scrapers

View file

@ -60,8 +60,8 @@ public class RouteScraper {
DefaultRequestVersion = new Version(2, 0),
DefaultRequestHeaders = {
UserAgent = {
new ProductInfoHeaderValue("new-infofer-scraper", "0.0.1"),
new ProductInfoHeaderValue("(developed by DC Dev as a hobby, get in touch at webmaster<at>dcdev.ro for any issues)"),
new ProductInfoHeaderValue("infotren-scraper", "0.0.2"),
new ProductInfoHeaderValue("(developed as a hobby)"),
},
},
};

View file

@ -54,8 +54,8 @@ namespace InfoferScraper.Scrapers {
DefaultRequestVersion = new Version(2, 0),
DefaultRequestHeaders = {
UserAgent = {
new ProductInfoHeaderValue("new-infofer-scraper", "0.0.1"),
new ProductInfoHeaderValue("(developed by DC Dev as a hobby, get in touch at webmaster<at>dcdev.ro for any issues)"),
new ProductInfoHeaderValue("infotren-scraper", "0.0.2"),
new ProductInfoHeaderValue("(developed as a hobby)"),
},
},
};

View file

@ -72,8 +72,8 @@ namespace InfoferScraper.Scrapers {
DefaultRequestVersion = new Version(2, 0),
DefaultRequestHeaders = {
UserAgent = {
new ProductInfoHeaderValue("new-infofer-scraper", "0.0.1"),
new ProductInfoHeaderValue("(developed by DC Dev as a hobby, get in touch at webmaster<at>dcdev.ro for any issues)"),
new ProductInfoHeaderValue("infotren-scraper", "0.0.2"),
new ProductInfoHeaderValue("(developed as a hobby)"),
},
},
};