We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command to replicate:
$ mozdownload -a firefox -t daily -p win32 --branch=mozilla-central --extension=txt
This is due to the expectation of 'installer' in the file name.
Proposed fix:
diff --git a/mozdownload/scraper.py b/mozdownload/scraper.py index 67732bd..19a739e 100755 --- a/mozdownload/scraper.py +++ b/mozdownload/scraper.py @@ -401,8 +401,8 @@ class DailyScraper(Scraper): 'linux64': r'\.%(EXT)s$', 'mac': r'\.%(EXT)s$', 'mac64': r'\.%(EXT)s$', - 'win32': r'(\.installer)\.%(EXT)s$', - 'win64': r'(\.installer)\.%(EXT)s$'} + 'win32': r'(\.installer)?\.%(EXT)s$', + 'win64': r'(\.installer)?\.%(EXT)s$'} regex = regex_base_name + regex_suffix[self.platform] return regex % {'APP': self.application,
The text was updated successfully, but these errors were encountered:
Allow download of json and txt extensions for win builds (mozilla#119)
cc8ec8b
13c1769
Allow to download files with different extensions than exe (#119)
1ca4bbd
PR #183 has been merged now. Thanks Johannes!
Sorry, something went wrong.
No branches or pull requests
Command to replicate:
This is due to the expectation of 'installer' in the file name.
Proposed fix:
The text was updated successfully, but these errors were encountered: