Advertisement
Guest User

Untitled

a guest
Dec 6th, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. Exception has occurred: KeyError
  2. (<class 'str'>, '//([^/#?]*)(.*)', 16)
  3. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/re/__init__.py", line 277, in _compile
  4. return _cache[type(pattern), pattern, flags]
  5. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/re/__init__.py", line 227, in compile
  6. return _compile(pattern, flags)
  7. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/parse.py", line 1058, in _splithost
  8. _hostprog = re.compile('//([^/#?]*)(.*)', re.DOTALL)
  9. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1887, in _open_generic_http
  10. host, selector = _splithost(url)
  11. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1996, in open_https
  12. return self._open_generic_http(self._https_connection, url, data)
  13. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1787, in open
  14. return getattr(self, name)(url)
  15. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1821, in retrieve
  16. fp = self.open(url, data)
  17. File "/Users/user/Documents/Coding/Project1/.venv/lib/python3.11/site-packages/redvid/requestmaker.py", line 225, in pgbar
  18. opener.retrieve(url, filename=output_path, reporthook=reporthook)
  19. File "/Users/user/Documents/Coding/Project1/.venv/lib/python3.11/site-packages/redvid/redvid.py", line 117, in get_video
  20. self.pgbar(self.log, self.video, self.temp + 'video.mp4', '>> Video:')
  21. File "/Users/user/Documents/Coding/Project1/.venv/lib/python3.11/site-packages/redvid/redvid.py", line 129, in get_and_mux
  22. self.get_video()
  23. File "/Users/user/Documents/Coding/Project1/.venv/lib/python3.11/site-packages/redvid/redvid.py", line 262, in download
  24. self.get_and_mux()
  25. File "/Users/user/Documents/Coding/Project1/downloaders.py", line 129, in download_video
  26. vidya.download()
  27. File "/Users/user/Documents/Coding/Project1/project1.py", line 78, in main
  28. d.download_video(submission)
  29. File "/Users/user/Documents/Coding/Project1/project1.py", line 84, in <module>
  30. main()
  31. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/runpy.py", line 88, in _run_code
  32. exec(code, run_globals)
  33. File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/runpy.py", line 198, in _run_module_as_main
  34. return _run_code(code, main_globals, None,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement