Change UserAgent
I don't trust CFR that much
This commit is contained in:
		
							parent
							
								
									a9f1838fd6
								
							
						
					
					
						commit
						88dd5a5314
					
				
					 3 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
					@ -60,8 +60,8 @@ public class RouteScraper {
 | 
				
			||||||
			DefaultRequestVersion = new Version(2, 0),
 | 
								DefaultRequestVersion = new Version(2, 0),
 | 
				
			||||||
				DefaultRequestHeaders = {
 | 
									DefaultRequestHeaders = {
 | 
				
			||||||
					UserAgent = {
 | 
										UserAgent = {
 | 
				
			||||||
						new ProductInfoHeaderValue("new-infofer-scraper", "0.0.1"),
 | 
											new ProductInfoHeaderValue("infotren-scraper", "0.0.2"),
 | 
				
			||||||
						new ProductInfoHeaderValue("(developed by DC Dev as a hobby, get in touch at webmaster<at>dcdev.ro for any issues)"),
 | 
											new ProductInfoHeaderValue("(developed as a hobby)"),
 | 
				
			||||||
					},
 | 
										},
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
		};
 | 
							};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -54,8 +54,8 @@ namespace InfoferScraper.Scrapers {
 | 
				
			||||||
				DefaultRequestVersion = new Version(2, 0),
 | 
									DefaultRequestVersion = new Version(2, 0),
 | 
				
			||||||
				DefaultRequestHeaders = {
 | 
									DefaultRequestHeaders = {
 | 
				
			||||||
					UserAgent = {
 | 
										UserAgent = {
 | 
				
			||||||
						new ProductInfoHeaderValue("new-infofer-scraper", "0.0.1"),
 | 
											new ProductInfoHeaderValue("infotren-scraper", "0.0.2"),
 | 
				
			||||||
						new ProductInfoHeaderValue("(developed by DC Dev as a hobby, get in touch at webmaster<at>dcdev.ro for any issues)"),
 | 
											new ProductInfoHeaderValue("(developed as a hobby)"),
 | 
				
			||||||
					},
 | 
										},
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
			};
 | 
								};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -72,8 +72,8 @@ namespace InfoferScraper.Scrapers {
 | 
				
			||||||
				DefaultRequestVersion = new Version(2, 0),
 | 
									DefaultRequestVersion = new Version(2, 0),
 | 
				
			||||||
				DefaultRequestHeaders = {
 | 
									DefaultRequestHeaders = {
 | 
				
			||||||
					UserAgent = {
 | 
										UserAgent = {
 | 
				
			||||||
						new ProductInfoHeaderValue("new-infofer-scraper", "0.0.1"),
 | 
											new ProductInfoHeaderValue("infotren-scraper", "0.0.2"),
 | 
				
			||||||
						new ProductInfoHeaderValue("(developed by DC Dev as a hobby, get in touch at webmaster<at>dcdev.ro for any issues)"),
 | 
											new ProductInfoHeaderValue("(developed as a hobby)"),
 | 
				
			||||||
					},
 | 
										},
 | 
				
			||||||
				},
 | 
									},
 | 
				
			||||||
			};
 | 
								};
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue