Skip to content

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

@Web3WithMark

Description

@Web3WithMark

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions