Skip to content
New issue

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

Allowing HTTP authentication for downloading WordPress blog content #1848

Merged
merged 1 commit into from Jun 29, 2015

Conversation

felixfontein
Copy link
Contributor

Also providing error messages when not downloading instead of storing error message in destination file.

Also providing error messages when not downloading instead of storing error message in destination file.
felixfontein added a commit that referenced this pull request Jun 29, 2015
Allowing HTTP authentication for downloading WordPress blog content
@felixfontein felixfontein merged commit f330a1c into master Jun 29, 2015
@felixfontein felixfontein deleted the wordpress-import-auth-downloads branch June 29, 2015 17:59
@@ -131,6 +138,14 @@ def _execute(self, options={}, args=[]):
self.exclude_drafts = options.get('exclude_drafts', False)
self.no_downloads = options.get('no_downloads', False)

self.auth = None
if options.get('download_auth', None) is not None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don’t need to explicitly specify , None, it’s the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants