autopkg / hansen-m-recipes

My recipes for Autopkg - https://github.com/autopkg
27 stars 50 forks source link

com.github.hansen-m.download.MacTeX fails download (url issue) #241

Closed bjohnson-MHC closed 1 year ago

bjohnson-MHC commented 1 year ago

Looks like some HTML is fouling up the URL sniffing for the download.MacTeX recipe -- it's pulling in part of an HTML bold tag: `$ autopkg run -vv local.download.MacTeX Processing local.download.MacTeX... URLTextSearcher {'Input': {'re_pattern': 'http.MacTeX.pkg', 'url': 'http://www.tug.org/mactex/mactex-download.html'}} URLTextSearcher: No value supplied for result_output_var_name, setting default value of: match URLTextSearcher: Found matching text (match): https://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg">MacTeX.pkg {'Output': {'match': 'https://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg">MacTeX.pkg'}} URLDownloader {'Input': {'url': 'https://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg">MacTeX.pkg'}} URLDownloader: No value supplied for prefetch_filename, setting default value of: False URLDownloader: No value supplied for CHECK_FILESIZE_ONLY, setting default value of: False URLDownloader: ERROR: (22) The requested URL returned error: 404

curl: (22) The requested URL returned error: 404`

rustymyers commented 1 year ago

Updating regex to '(https[^"]+MacTeX.pkg)' Latest commit fixes