Skip to content

ValueError: unknown url type #10

Description

@kenorb
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'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions