Comments (4)
Hello, can you try again with the latest version of the bot ? Also, have you followed the README
correctly and selected correct permissions?
from vintedpy.
Hello - yes it's now working! It's great.
I have had the following error twice after running it for a couple hour FYI:
2023-05-11 15:29:13.765 | DEBUG | main:run_background:26 - 0 found for 1
OrderedDict([('id', 2), ('url', 'https://www.vinted.co.uk/catalog?search_text=&catalog[]=1206&price_from=0.0&price_to=60.0¤cy=GBP&search_id=7719517575&order=newest_first'), ('channel_id', 1068713486990966926), ('last_sync', 1683815099)])
E 2023-05-11 15:29:14,179 asyncio: Task exception was never retrieved
future: <Task finished name='Task-22' coro=<run_background() done, defined at /home/drew/Projects/vintedpy-main/vintedpy-main/main.py:18> exception=TypeError("'NoneType' object is not subscriptable")>
Traceback (most recent call last):
File "/home/drew/Projects/vintedpy-main/vintedpy-main/main.py", line 25, in run_background
items = scrape(db, sub)
File "/home/drew/Projects/vintedpy-main/vintedpy-main/scraper.py", line 46, in scrape
timestamp = item['photo']['high_resolution']['timestamp']
TypeError: 'NoneType' object is not subscriptable
from vintedpy.
Great! Concerning the error by looking at the stacktrace, it seems the Vinted API responded with a wrong item that does not have any timestamp, but this bot uses timestamp to keep track of what items already have been alerted.
I'll push a fix tomorrow. I keep the issue open until this is completely fixed.
Thank you for reporting 👍
from vintedpy.
This should be fixed, feel free to reopen if the issue persists
from vintedpy.
Related Issues (16)
- data folder HOT 1
- error HOT 2
- Error embed
- Is this still working? HOT 1
- Comment mettre des filtres pour la recherche HOT 1
- Error retrieving oauth token HOT 1
- Temporary IP bans HOT 1
- hikari.errors.UnauthorizedError: Unauthorized 401 HOT 2
- Dataset error
- Hikari error
- How search items HOT 1
- Search for few items HOT 3
- Problem with subscibe HOT 5
- vinted api Oauth
- put FR adresse for vinted, but search in vinted.de
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vintedpy.