@@ -41,19 +41,19 @@ func (h HTTP) PrepareRequestForURL(url string) (*http.Request, error) {
41
41
return nil , err
42
42
}
43
43
44
- const mozilla = "Mozilla/5.0 (Windows NT 10.0; Win64; x64 ; rv:122 .0) Gecko/20100101 Firefox/122 .0"
44
+ const mozilla = "Mozilla/5.0 (X11; Linux x86_64 ; rv:134 .0) Gecko/20100101 Firefox/134 .0"
45
45
46
46
host := h .GetHost (url )
47
47
switch host {
48
- case "aberlehome" , "bettybossi" , "colruyt" , "dinnerthendessert" , "downshiftology" , "findingtimeforcooking" , "jumbo" ,
48
+ case "aberlehome" , "allrecipes" , " bettybossi" , "colruyt" , "dinnerthendessert" , "downshiftology" , "findingtimeforcooking" , "jumbo" ,
49
49
"marmiton" , "natashaskitchen" , "parsleyandparm" , "puurgezond" , "reddit" , "robinasbell" , "sarahsveganguide" ,
50
50
"thekitchn" , "thepalatablelife" , "wellplated" :
51
51
req .Header .Set ("User-Agent" , mozilla )
52
52
case "ah" :
53
53
req .Header .Set ("Accept-Language" , "q=1.0,nl-NL,nl;en-US,en;q=0.8,fr-FR;q=0.5,fr;q=0.3" )
54
54
req .Header .Set ("User-Agent" , mozilla )
55
- case "chatelaine" , "damndelicious" :
56
- req .Header .Set ("User-Agent" , "curl/7.68 .0" )
55
+ case "chatelaine" , "damndelicious" , "simplyrecipes" :
56
+ req .Header .Set ("User-Agent" , "curl/8.11 .0" )
57
57
req .Header .Set ("Pragma" , "no-cache" )
58
58
req .Header .Set ("DNT" , "1" )
59
59
req .Header .Set ("Accept-Encoding" , "gzip, deflate, br" )
0 commit comments