althonos / althonos/InstaLooter

'NoneType' object has no attribute 'group'

オープン
#349 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
2.1k
フォーク
257
PR マージ指標
30日以内にマージされた PR はありません

説明

## Library version

*What's the installed library version ? Check with `instalooter --version`*:

```
instalooter 2.4.4
```

## Environment

*Describe here your environment, including:*

MacOS Monterrey v12.1
Python 3.3.9

## Error description - installation

*If you have an issue with installation, make sure you use a recent `setuptools` version
before filing a bug ! If the error is still there, describe the command you used to
install, and make sure you reported your environment in details. In particular,
if you encounter a critical error with the CLI, please post the program output when
running with the `--traceback` flag.*

## Error description - runtime

*If you have an issue at runtime, include the required information below:*

### Reproducible test case

*Are you using the CLI ? If so, include a command that can be used to re-raise the
error, with actual arguments anybody can try:*

```
instalooter post https://www.instagram.com/p/CX8LSDwsVNP/?utm_source=ig_web_copy_link -v -T {username}.{id}
```

### Expected behaviour

Instalooter downloads post to the current directory

### Actual behaviour

Receive
Traceback (most recent call last):
File "/opt/homebrew/Cellar/instalooter/2.4.4_2/libexec/lib/python3.10/site-packages/instalooter/cli/__init__.py", line 167, in main
n = looter.download(
File "/opt/homebrew/Cellar/instalooter/2.4.4_2/libexec/lib/python3.10/site-packages/instalooter/looters.py", line 858, in download
medias_queued = self._fill_media_queue(
File "/opt/homebrew/Cellar/instalooter/2.4.4_2/libexec/lib/python3.10/site-packages/instalooter/looters.py", line 616, in _fill_media_queue
for media in six.moves.filter(_condition, medias_iter):
File "/opt/homebrew/Cellar/instalooter/2.4.4_2/libexec/lib/python3.10/site-packages/instalooter/looters.py", line 824, in medias
info = self.info
File "/opt/homebrew/Cellar/instalooter/2.4.4_2/libexec/lib/python3.10/site-packages/instalooter/looters.py", line 792, in info
self._info = self.get_post_info(self.code)
File "/opt/homebrew/Cellar/instalooter/2.4.4_2/libexec/lib/python3.10/site-packages/instalooter/looters.py", line 349, in get_post_info
data = get_shared_data(res.text)
File "/opt/homebrew/Cellar/instalooter/2.4.4_2/libexec/lib/python3.10/site-packages/instalooter/_utils.py", line 94, in get_shared_data
return json.loads(match.group(1))
AttributeError: 'NoneType' object has no attribute 'group'

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。