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

unsupported format character #1

Open
zailaib opened this issue Dec 5, 2019 · 0 comments
Open

unsupported format character #1

zailaib opened this issue Dec 5, 2019 · 0 comments

Comments

@zailaib
Copy link

zailaib commented Dec 5, 2019

%23 is quote_plus('#')

'sftp://asdf:asdf%232019%[email protected]'

    def open_spider(self, spider):
        uri = self.urifmt % self._get_uri_params(spider)

will be raise this error

    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-4-ff2cb9ba5c1a>", line 1, in <module>
    self.urifmt % ''
ValueError: unsupported format character '%' (0x25) at index 27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant