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

ValueError: unknown url type #10

Open
kenorb opened this issue Oct 4, 2017 · 0 comments
Open

ValueError: unknown url type #10

kenorb opened this issue Oct 4, 2017 · 0 comments
Labels

Comments

@kenorb
Copy link
Collaborator

kenorb commented Oct 4, 2017

Traceback (most recent call last):
  File "~/binfiles/google_dl", line 165, in <module>
    path = get_path_via_url(url, args.dest, args.dirs)
  File "~/binfiles/google_dl", line 105, in get_path_via_url
    request = urllib.request.Request(url, method="HEAD")
  File "~/anaconda/lib/python3.6/urllib/request.py", line 329, in __init__
    self.full_url = url
  File "~/anaconda/lib/python3.6/urllib/request.py", line 355, in full_url
    self._parse()
  File "~/anaconda/lib/python3.6/urllib/request.py", line 384, in _parse
    raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/search?q=%C5%93+%C5%93+%C5%93+%C5%93+filetype:pdf&num=50&hl=en&prmd=ivns&tbm=isch&tbo=u&source=univ&sa=X&ved=0ahUKEwiRx83UpdTWAhWKLVAKHQ4rB1c49ABQsAAInwA'
@kenorb kenorb added the bug label Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant