Downloading mod thumbnail through HttpClient

A place to talk about the official Factorio mod portal (https://mods.factorio.com)
Rikitav
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Jul 04, 2024 4:51 pm
Contact:

Downloading mod thumbnail through HttpClient

Post by Rikitav »

I programming a small browser on C# to view and download mods using the internal Mod Portal API. Everything works gorgeous and the lists of mods are loaded, but when it comes to the assets, problems began. I use the most ordinary HttpClient for requests and when I try to request Thumbnail (let it be https://assets-mod.factorio.com/assets/ ... .thumb.png), the request is interrupted with the exception "this host is unknown. (Assets-mod.Factorio.com:443)", although everything in the regular browser is calmly opening.
Post Reply

Return to “Mod portal Discussion”