althonos / althonos/InstaLooter
Exception has occurred: AttributeError 'NoneType' object has no attribute 'group'
- Linguagem predominante
- Python
- Estrelas
- 2.1k
- Forks
- 257
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**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'
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.