autopkg / killahquam-recipes

8 stars 23 forks source link

403 error from URLDownloader in VisualStudioCode.download.recipe #26

Closed Daz-wallace closed 1 week ago

Daz-wallace commented 3 weeks ago

Heya,

Looks like MS has changed something and I now seem to be getting a 403 error for the Visual Studio Code recipe you've kindly shared! Error: The following recipes failed: /Users/darren.wallace/Library/AutoPkg/RecipeRepos/com.github.autopkg.killahquam-recipes/VisualStudioCode/VisualStudioCode.download.recipe Error in com.github.killahquam.download.visualstudiocode: Processor: URLDownloader: Error: curl: (22) The requested URL returned error: 403

Adding a user agent string seems to fix it. PR incoming! D

Daz-wallace commented 3 weeks ago

PR in, feel free to change as needed :)