althonos / althonos/InstaLooter
Exception has occurred: AttributeError 'NoneType' object has no attribute 'group'
- Ngôn ngữ chính
- Python
- Star
- 2.1k
- Fork
- 257
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
**PROBLEM DETAILS:**
I'm getting the following error (full traceback lower in issue):
```
Exception has occurred: AttributeError
'NoneType' object has no attribute 'group'
```
at the commented line in my code:
```
from instalooter.looters import ProfileLooter
looter = ProfileLooter("dreamwifetheband") #error at this line
looter.download('C:/Users/samlb/Downloads/memeFiles', media_count=5)
```
**MY VERSION:**
My version of instalooter is 2.4.4 and I'm running it on Python 3.9.13
**FULL TRACEBACK:**
```
Traceback (most recent call last):
File "c:\Users\samlb\Documents\MEME_VIDEOS\makeMemeVideos.py", line 9, in
looter = ProfileLooter("dreamwifetheband")
File "C:\Users\samlb\AppData\Roaming\Python\Python39\site-packages\instalooter\looters.py", line 705, in __init__
super(ProfileLooter, self).__init__(**kwargs)
File "C:\Users\samlb\AppData\Roaming\Python\Python39\site-packages\instalooter\looters.py", line 287, in __init__
token = get_shared_data(res.text)['config']['csrf_token']
File "C:\Users\samlb\AppData\Roaming\Python\Python39\site-packages\instalooter\_utils.py", line 94, in get_shared_data
return json.loads(match.group(1))
AttributeError: 'NoneType' object has no attribute 'group'
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.