diff --git a/umake/frameworks/games.py b/umake/frameworks/games.py index b391fe5c..af56bd2d 100644 --- a/umake/frameworks/games.py +++ b/umake/frameworks/games.py @@ -208,7 +208,7 @@ def parse_download_link(self, line, in_download): url = None if '{}.zip'.format(self.arch_trans[get_current_arch()]) in line: in_download = True - p = re.search(r'(.*\.zip)', line) + p = re.search(r'href=\"?([^\s]+\.zip)', line) with suppress(AttributeError): url = p.group(1) bin = re.search(r'(Godot.*)\.zip', url)