Closed apizz closed 3 years ago
Good catch. I've cautiously added some code in 326ad0f that detects common download content-types and redirects Recipe Robot's effort from "inspect Sparkle feed" to "inspect download URL." That seems to solve the problem for your example input. I'll do some testing to make sure the change doesn't break parsing for any actual Sparkle feeds, and tentatively add this change to v2.2.0.
@homebysix this does not appear to be fixed in v2.2.0. When I enter the URL, I get a pinwheel and no visual output. Recipe Robot becomes unresponsive and have to force quit.
Trying the URL from #178 produces same behavior.
This is on 10.15.7 (19H114) Mac.
OOOoo I'm an idiot. The Mac I'm testing with I forgot doesn't have autopkg installed ...
Sorry for the false alarm, confirmed this is now working as expected.
Describe the bug Attempting to create recipes with https://www.macpostgresclient.com/download.php, which is not a Sparkle feed to my knowledge, causes Recipe Robot to explode.
To Reproduce Steps to reproduce the behavior:
Expected behavior Recipes created.
Screenshots
Output:
Desktop (please complete the following information):
autopkg version
: 2.2/usr/local/autopkg/python --version
: 3.7.5Additional context Add any other context about the problem here.