RYNEQ / space_dl

Python library/app to download twitter spaces and make multiple outputs from them
Creative Commons Zero v1.0 Universal
5 stars 4 forks source link

'NoneType' object has no attribute 'group' #2

Open Web3WithMark opened 1 year ago

Web3WithMark commented 1 year ago

Seems to be an error:

Traceback (most recent call last):
  File "/usr/local/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.10/site-packages/space_dl/__main__.py", line 33, in <module>
    main()
  File "/usr/local/lib/python3.10/site-packages/space_dl/__main__.py", line 22, in main
    s = twitter_space.Space.from_url(args.url[0], out_dir, verbose=args.verbose, proxies=PROXY)
  File "/usr/local/lib/python3.10/site-packages/space_dl/twitter_space.py", line 26, in from_url
    return cls(m.group(1), out_dir=out_dir, verbose=verbose, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/space_dl/twitter_space.py", line 66, in __init__
    self._get_space_config(out_file=self._out_dir / self._id / 'info.json')
  File "/usr/local/lib/python3.10/site-packages/space_dl/twitter_space.py", line 89, in _get_space_config
    js_url = m.group(1)
AttributeError: 'NoneType' object has no attribute 'group'