althonos / althonos/InstaLooter

Cannot get user | user not found?

Ouverte
#329 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
2.1k
Forks
257
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## Library version

*2.4.4*:

```
instalooter v2.4.4
```

## Environment

*Describe here your environment, including:*

* *Windows*
* *Python 3.9,2*
* *`setuptools` version if reporting an issue with installation* N/A
* *non-standard Python implementation if any* N/A

## Error description - installation (not applicable)

*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:*
I am using instalooter to gather videos from Instagram (then use moviepy to put the together but that's irrelevant because instalooter was working before)
Instalooter returns this error: "Traceback (most recent call last):
File "C:\Users\Danielslux\Documents\DanielsLuxBot\main.py", line 125, in
schedule.run_pending()
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\schedule\__init__.py", line 563, in run_pending
default_scheduler.run_pending()
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\schedule\__init__.py", line 94, in run_pending
self._run_job(job)
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\schedule\__init__.py", line 147, in _run_job
ret = job.run()
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\schedule\__init__.py", line 466, in run
ret = self.job_func()
File "C:\Users\Danielslux\Documents\DanielsLuxBot\main.py", line 114, in attemptRoutine
routine()
File "C:\Users\Danielslux\Documents\DanielsLuxBot\main.py", line 67, in routine
scrapeVideos(username = IG_USERNAME,
File "C:\Users\Danielslux\Documents\DanielsLuxBot\scrape_videos.py", line 32, in scrapeVideos
numDowloaded = looter.download(output_folder, media_count=30, timeframe=timeframe)
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\instalooter\looters.py", line 451, in download
pages_iterator = self.pages() # type: Iterable[Dict[Text, Any]]
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\instalooter\looters.py", line 724, in pages
it = ProfileIterator.from_username(self._username, self.session)
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\instalooter\pages.py", line 179, in from_username
raise ValueError("user not found: '{}'".format(username))
ValueError: user not found: 'daquan'"

### Reproducible test case (Not applicable)

*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 ...
```

*Are you using the API ? If so, include a small snippet that can be used to re-raise the
error:*

```python
from instalooter.looters import ...
```

### Expected behaviour

*What's supposed to happen ? That's were you can ask for a new feature as well*
Its supposed to grab videos from users i follow from Instagram and download them. (This worked before, I didn't alter the code
instalooter just decided not to work for some reason)

### Actual behaviour

*What's actually happening ? Leave empty if asking for a new feature*
Returns Error: "Traceback (most recent call last):
File "C:\Users\Danielslux\Documents\DanielsLuxBot\main.py", line 125, in
schedule.run_pending()
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\schedule\__init__.py", line 563, in run_pending
default_scheduler.run_pending()
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\schedule\__init__.py", line 94, in run_pending
self._run_job(job)
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\schedule\__init__.py", line 147, in _run_job
ret = job.run()
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\schedule\__init__.py", line 466, in run
ret = self.job_func()
File "C:\Users\Danielslux\Documents\DanielsLuxBot\main.py", line 114, in attemptRoutine
routine()
File "C:\Users\Danielslux\Documents\DanielsLuxBot\main.py", line 67, in routine
scrapeVideos(username = IG_USERNAME,
File "C:\Users\Danielslux\Documents\DanielsLuxBot\scrape_videos.py", line 32, in scrapeVideos
numDowloaded = looter.download(output_folder, media_count=30, timeframe=timeframe)
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\instalooter\looters.py", line 451, in download
pages_iterator = self.pages() # type: Iterable[Dict[Text, Any]]
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\instalooter\looters.py", line 724, in pages
it = ProfileIterator.from_username(self._username, self.session)
File "C:\Users\Danielslux\AppData\Local\Programs\Python\Python39\lib\site-packages\instalooter\pages.py", line 179, in from_username
raise ValueError("user not found: '{}'".format(username))
ValueError: user not found: 'daquan'"

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.