vinted-bot 2.2.0__tar.gz → 2.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/.env.example +8 -3
  2. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/CHANGELOG.md +41 -1
  3. vinted_bot-2.3.0/CLAUDE.md +36 -0
  4. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/CONTRIBUTING.md +0 -2
  5. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/Dockerfile +5 -3
  6. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/PKG-INFO +7 -8
  7. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/README.md +5 -6
  8. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/SECURITY.md +1 -1
  9. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/docs/architecture.md +2 -5
  10. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/docs/configuration.md +12 -6
  11. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/docs/legal.md +8 -6
  12. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/docs/troubleshooting.md +7 -3
  13. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/llms.txt +3 -3
  14. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/pyproject.toml +3 -2
  15. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/__init__.py +1 -1
  16. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/app.py +6 -1
  17. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/botctl/telegram_bot.py +2 -2
  18. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/config.py +15 -7
  19. vinted_bot-2.3.0/src/vinted_bot/db/migrations/0010_faster_checks.sql +70 -0
  20. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/dispatcher.py +3 -1
  21. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/poller.py +11 -3
  22. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/validation.py +7 -6
  23. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/watchdog.py +10 -1
  24. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/client.py +40 -1
  25. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/session.py +1 -1
  26. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/transport.py +1 -1
  27. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/forms.py +1 -1
  28. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/searches.py +4 -2
  29. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/welcome.py +4 -4
  30. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/index.html +2 -2
  31. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/search-detail.html +1 -1
  32. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/search-edit.html +2 -2
  33. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/searches.html +1 -1
  34. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/settings.html +1 -1
  35. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/stats.html +2 -2
  36. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/welcome-1.html +1 -1
  37. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_delivery.py +45 -0
  38. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_poller_rules.py +34 -0
  39. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_telegram_bot.py +3 -2
  40. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_watchdog_and_storage.py +23 -0
  41. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_web.py +9 -1
  42. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_client.py +45 -0
  43. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_config.py +4 -3
  44. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_docs_match_code.py +1 -5
  45. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_migrations.py +56 -1
  46. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_transport.py +14 -0
  47. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_validation.py +2 -2
  48. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/uv.lock +372 -314
  49. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/.dockerignore +0 -0
  50. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/.gitignore +0 -0
  51. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/.python-version +0 -0
  52. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/LICENSE +0 -0
  53. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/README.fr.md +0 -0
  54. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/docker/entrypoint.sh +0 -0
  55. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/docker-compose.yml +0 -0
  56. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/docs/REVIEW.md +0 -0
  57. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/docs/self-hosting.md +0 -0
  58. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/install.ps1 +0 -0
  59. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/install.sh +0 -0
  60. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/__main__.py +0 -0
  61. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/botctl/__init__.py +0 -0
  62. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/cli.py +0 -0
  63. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/__init__.py +0 -0
  64. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/connection.py +0 -0
  65. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/export.py +0 -0
  66. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0001_init.sql +0 -0
  67. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0002_seller_details.sql +0 -0
  68. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0003_listing_gallery.sql +0 -0
  69. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0004_richer_searches.sql +0 -0
  70. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0005_resale_and_mute.sql +0 -0
  71. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0006_dedup_that_survives.sql +0 -0
  72. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0007_destination_pause.sql +0 -0
  73. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0008_status_notices.sql +0 -0
  74. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations/0009_seller_waits.sql +0 -0
  75. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/migrations.py +0 -0
  76. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/db/repo.py +0 -0
  77. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deals.py +0 -0
  78. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/__init__.py +0 -0
  79. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/apprise.py +0 -0
  80. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/base.py +0 -0
  81. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/discord.py +0 -0
  82. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/labels.py +0 -0
  83. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/ntfy.py +0 -0
  84. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/preview.py +0 -0
  85. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/ratelimit.py +0 -0
  86. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/render.py +0 -0
  87. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/telegram.py +0 -0
  88. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/deliver/webhook.py +0 -0
  89. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/__init__.py +0 -0
  90. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/dedup.py +0 -0
  91. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/filters.py +0 -0
  92. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/health.py +0 -0
  93. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/quiet.py +0 -0
  94. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/rates.py +0 -0
  95. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/self_update.py +0 -0
  96. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/updates.py +0 -0
  97. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/wakeups.py +0 -0
  98. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/engine/watcher.py +0 -0
  99. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/log.py +0 -0
  100. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/managed.py +0 -0
  101. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/__init__.py +0 -0
  102. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/agents.json +0 -0
  103. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/canary.py +0 -0
  104. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/errors.py +0 -0
  105. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/headers.py +0 -0
  106. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/item_page.py +0 -0
  107. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/models.py +0 -0
  108. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/proxies.py +0 -0
  109. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/taxonomy.py +0 -0
  110. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/vinted/urls.py +0 -0
  111. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/__init__.py +0 -0
  112. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/core.py +0 -0
  113. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/data.py +0 -0
  114. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/destinations.py +0 -0
  115. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/preview.py +0 -0
  116. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/__init__.py +0 -0
  117. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/access.py +0 -0
  118. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/alerts.py +0 -0
  119. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/api.py +0 -0
  120. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/auth.py +0 -0
  121. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/finds.py +0 -0
  122. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/settings_page.py +0 -0
  123. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/stats.py +0 -0
  124. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/updating.py +0 -0
  125. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/routes/watchlist.py +0 -0
  126. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/sample_alert.py +0 -0
  127. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/security.py +0 -0
  128. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/server.py +0 -0
  129. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/LICENSE-lucide.txt +0 -0
  130. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/css/app.css +0 -0
  131. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/css/tokens.css +0 -0
  132. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/fonts/Figtree-latin-ext.woff2 +0 -0
  133. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/fonts/Figtree-latin.woff2 +0 -0
  134. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/fonts/Gabarito-latin-ext.woff2 +0 -0
  135. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/fonts/Gabarito-latin.woff2 +0 -0
  136. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/fonts/OFL-Figtree.txt +0 -0
  137. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/fonts/OFL-Gabarito.txt +0 -0
  138. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/demo/corduroy-trousers.webp +0 -0
  139. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/demo/denim-jacket.webp +0 -0
  140. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/demo/straight-leg-jeans.webp +0 -0
  141. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/demo/wool-coat.webp +0 -0
  142. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/icons/apple-touch-icon.png +0 -0
  143. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/icons/favicon.ico +0 -0
  144. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/icons/favicon.svg +0 -0
  145. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/icons/icon-192.png +0 -0
  146. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/icons/icon-512.png +0 -0
  147. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/icons/icon-maskable-512.png +0 -0
  148. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-alert.webp +0 -0
  149. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-cheer.webp +0 -0
  150. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-find.webp +0 -0
  151. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-head.webp +0 -0
  152. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-parcel.webp +0 -0
  153. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-point.webp +0 -0
  154. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-sleep.webp +0 -0
  155. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-think.webp +0 -0
  156. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-watch.webp +0 -0
  157. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-wave.webp +0 -0
  158. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/img/mags/mags-worried.webp +0 -0
  159. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/js/app.js +0 -0
  160. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/static/js/qrcode.js +0 -0
  161. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/support.py +0 -0
  162. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/alerts.html +0 -0
  163. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/bare.html +0 -0
  164. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/base.html +0 -0
  165. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/error.html +0 -0
  166. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/login.html +0 -0
  167. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/ob_base.html +0 -0
  168. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/banners.html +0 -0
  169. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/card.html +0 -0
  170. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/dest_forms.html +0 -0
  171. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/head.html +0 -0
  172. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/icons.svg +0 -0
  173. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/macros.html +0 -0
  174. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/ob_back.html +0 -0
  175. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/phone.html +0 -0
  176. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/sample_alert.html +0 -0
  177. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/partials/support.html +0 -0
  178. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/watchlist.html +0 -0
  179. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/welcome-2.html +0 -0
  180. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/welcome-3.html +0 -0
  181. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/welcome-4.html +0 -0
  182. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/welcome-5.html +0 -0
  183. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/templates/welcome-6.html +0 -0
  184. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/src/vinted_bot/web/views.py +0 -0
  185. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/__init__.py +0 -0
  186. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/conftest.py +0 -0
  187. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/fixtures/vinted/catalogue_fr.json +0 -0
  188. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/fixtures/vinted/item_available_fr.html +0 -0
  189. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/fixtures/vinted/item_sold_nl.html +0 -0
  190. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/fixtures/vinted/user_fr.json +0 -0
  191. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/fixtures/vinted/wardrobe_fr.json +0 -0
  192. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/__init__.py +0 -0
  193. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_alert_tools.py +0 -0
  194. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_app_end_to_end.py +0 -0
  195. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_cli.py +0 -0
  196. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_dashboard_access.py +0 -0
  197. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_dashboard_feedback.py +0 -0
  198. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_dashboard_telegram.py +0 -0
  199. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_dashboard_usability.py +0 -0
  200. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_heartbeat_and_updates.py +0 -0
  201. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_poller.py +0 -0
  202. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_repo.py +0 -0
  203. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_self_update.py +0 -0
  204. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_watcher.py +0 -0
  205. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_web_updates.py +0 -0
  206. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/integration/test_what_counts_as_new.py +0 -0
  207. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/__init__.py +0 -0
  208. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/sending.py +0 -0
  209. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_access.py +0 -0
  210. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_canary.py +0 -0
  211. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_deals.py +0 -0
  212. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_dedup_and_filters.py +0 -0
  213. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_destination_forms.py +0 -0
  214. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_discord.py +0 -0
  215. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_filters.py +0 -0
  216. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_install_detection.py +0 -0
  217. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_item_page.py +0 -0
  218. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_log.py +0 -0
  219. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_models.py +0 -0
  220. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_other_senders.py +0 -0
  221. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_proxies.py +0 -0
  222. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_quiet.py +0 -0
  223. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_ratelimit.py +0 -0
  224. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_rates.py +0 -0
  225. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_render.py +0 -0
  226. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_security.py +0 -0
  227. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_session.py +0 -0
  228. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_support.py +0 -0
  229. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_taxonomy.py +0 -0
  230. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_telegram.py +0 -0
  231. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_urls.py +0 -0
  232. {vinted_bot-2.2.0 → vinted_bot-2.3.0}/tests/unit/test_wakeups.py +0 -0
@@ -51,9 +51,9 @@
51
51
 
52
52
  # --- How often to check --------------------------------------------------------------
53
53
  # Seconds between checks for a new search. Per-search overrides live in the app itself.
54
- # Below 10 is ignored: Vinted's own catalog lags further behind than that, so checking
55
- # faster finds nothing sooner and does get you blocked.
56
- # VINTED_BOT_POLL_DEFAULT_INTERVAL_S=60
54
+ # The shortest is 1. Vinted's search takes 15 to 30 seconds to show a new upload, so going
55
+ # below the default gains a couple of seconds at most.
56
+ # VINTED_BOT_POLL_DEFAULT_INTERVAL_S=5
57
57
 
58
58
  # How old a listing may be and still count as new, in minutes. Listings the app can tell
59
59
  # were already on Vinted longer ago are skipped, and after a gap in checking longer than
@@ -68,6 +68,11 @@
68
68
 
69
69
 
70
70
  # --- Staying unblocked ---------------------------------------------------------------
71
+ # At most this many searches leave this computer per second, all searches together; any
72
+ # more wait their turn. Vinted answered 12 a second from one address without complaint and
73
+ # started refusing at 20.
74
+ # VINTED_BOT_MAX_SEARCHES_PER_S=8
75
+
71
76
  # Start a fresh session after this many minutes. Blocks track how long a session has been
72
77
  # alive more than how fast it is used, so replacing them on a timer helps.
73
78
  # VINTED_BOT_SESSION_ROTATE_MINUTES=60
@@ -6,6 +6,44 @@ becomes the text of its GitHub release, so write it for the people running the a
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.3.0] - 2026-11-22
10
+
11
+ Alerts are much faster: a new listing usually reaches you 15 to 35 seconds after the seller
12
+ posts it, where it could take up to three minutes before.
13
+
14
+ ### Changed
15
+
16
+ - **Every check sees what Vinted has right now.** Vinted keeps each search's results for
17
+ two minutes and hands the same answer to everyone who asks, so a search could show
18
+ listings up to two minutes late however often it was checked. Each check now asks in a way
19
+ that skips that copy, without changing what the search finds.
20
+ - **Checks every 5 seconds by default**, instead of every minute. The search editor offers
21
+ 1, 3, 5, 10 and 30 seconds and 1, 5 and 15 minutes; 1 second is the fastest and marked
22
+ "at your own risk". Searches still on the old default of one minute move to 5 seconds;
23
+ any other interval you picked is kept. `VINTED_BOT_POLL_DEFAULT_INTERVAL_S` now accepts
24
+ anything from 1.
25
+ - **Never more than 8 searches a second** leave your computer, all searches together; any
26
+ more wait their turn for a moment. Change it with `VINTED_BOT_MAX_SEARCHES_PER_S`.
27
+ - A search covering several countries checks them all at once instead of one after another.
28
+
29
+ ### Fixed
30
+
31
+ - A listing found while another alert was being sent could wait up to two seconds before
32
+ going out. It now goes straight after.
33
+ - The dashboard and setup started new searches at one minute even when a shorter default was
34
+ set.
35
+ - A search checked often is no longer called "stale" after a minute without new listings:
36
+ that now takes ten minutes, however often it checks.
37
+
38
+ ## [2.2.1] - 2026-11-14
39
+
40
+ ### Fixed
41
+
42
+ - Searches stopped about an hour after starting, with "served a page but set no
43
+ access_token_web cookie", and only a restart brought them back. Renewing the session
44
+ sent the old session's cookie along, so Vinted never handed out a new one. It no longer
45
+ does. Thanks to @c0coco for the fix (#21, #22).
46
+
9
47
  ## [2.2.0] - 2026-10-30
10
48
 
11
49
  Nobody needs to edit a `.env` file any more. Everything a normal setup needs is in the
@@ -322,7 +360,9 @@ First version, never tagged as a release: polling with a stale-catalog watchdog,
322
360
  the total price including buyer protection, Discord, Telegram, ntfy, RSS and webhook
323
361
  delivery through a reliable outbox, and a web dashboard.
324
362
 
325
- [Unreleased]: https://github.com/jasp-nerd/vinted-bot/compare/v2.2.0...HEAD
363
+ [Unreleased]: https://github.com/jasp-nerd/vinted-bot/compare/v2.3.0...HEAD
364
+ [2.3.0]: https://github.com/jasp-nerd/vinted-bot/compare/v2.2.1...v2.3.0
365
+ [2.2.1]: https://github.com/jasp-nerd/vinted-bot/compare/v2.2.0...v2.2.1
326
366
  [2.2.0]: https://github.com/jasp-nerd/vinted-bot/compare/v2.1.0...v2.2.0
327
367
  [2.1.0]: https://github.com/jasp-nerd/vinted-bot/compare/v2.0.0...v2.1.0
328
368
  [2.0.0]: https://github.com/jasp-nerd/vinted-bot/compare/v0.1.0...v2.0.0
@@ -0,0 +1,36 @@
1
+ # vinted-bot
2
+
3
+ A free, open-source, self-hosted Vinted bot: it watches your Vinted searches and sends new
4
+ listings to Telegram, Discord or your phone, with a web dashboard. The goal is to be the best
5
+ free alternative to paid Vinted bots (€5–€300 a month), and easy enough for someone who has
6
+ never opened a terminal.
7
+
8
+ ## What it stands for
9
+
10
+ - **Free and self-hosted.** No subscription, no ads, no account with us. It runs on the
11
+ user's own computer, NAS or server.
12
+ - **Honest.** Prices include the buyer-protection fee. It says plainly when something stops
13
+ working (a search goes quiet, Vinted blocks the connection) instead of failing silently, and
14
+ it never claims to be faster than Vinted itself allows.
15
+ - **Reliable.** An alert is written before it is sent, so a crash never loses or duplicates one.
16
+ - **Anyone can set it up.** One-line installers and a setup wizard; everything a normal user
17
+ needs is done in the dashboard, never by editing files.
18
+ - **Looks like it belongs next to Vinted.** Vinted's colours and calm layout, with Mags the
19
+ magpie as mascot. Copy is plain and friendly: no emoji, no hype.
20
+
21
+ ## How the code is organised
22
+
23
+ `src/vinted_bot/`: `vinted/` talks to Vinted, `engine/` decides what is new and what to
24
+ send, `deliver/` sends alerts, `db/` holds all SQL, `web/` is the dashboard, `botctl/` is the
25
+ Telegram bot. `site/` is the landing site, `docs/` the user and contributor docs
26
+ (`docs/architecture.md` explains the design, `docs/REVIEW.md` the review checklist).
27
+
28
+ ## How we work
29
+
30
+ - Every change keeps CI green: `uv run pytest`, `uv run ruff check .`,
31
+ `uv run ruff format --check .`, `uv run mypy`, `uv run deptry src`, `uv run vulture`.
32
+ - New behaviour comes with a test that fails without it. Check UI changes in a real browser.
33
+ - No backward-compatibility shims or dead code; prefer a clean change.
34
+ - Commit messages are plain imperative sentences without prefixes or AI attribution.
35
+ - Releases are manual: bump the version and the CHANGELOG in a PR, merge, then run
36
+ Actions → Release (see CONTRIBUTING.md).
@@ -68,8 +68,6 @@ the maintainer's alike. The short version:
68
68
  `db/repo.py`, structlog events named like `poller.started`.
69
69
  - No retry or fallback whose only job is to make a symptom go away.
70
70
  - The README and docs never claim something the code doesn't do.
71
- - Never log in to Vinted, and no features that need a Vinted account (buying, messaging,
72
- offers). That is a deliberate line, not a missing feature.
73
71
 
74
72
  ## Commit messages
75
73
 
@@ -1,7 +1,7 @@
1
1
  # Build stage: resolve and install dependencies into a self-contained virtualenv.
2
2
  # Both base images are pinned by digest so a rebuild of the same commit gets the same bytes;
3
3
  # Dependabot moves the digests forward weekly.
4
- FROM ghcr.io/astral-sh/uv:python3.13-trixie-slim@sha256:e586c1c65b7071aec78f02c5587c76c5011159cd76b3d6f1255f40e48e850abc AS build
4
+ FROM ghcr.io/astral-sh/uv:python3.13-trixie-slim@sha256:9a9f205ad2f9aaf63597afef4042c455392f9253937028264b98226e91c09518 AS build
5
5
 
6
6
  ENV UV_COMPILE_BYTECODE=1 \
7
7
  UV_LINK_MODE=copy \
@@ -23,7 +23,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
23
23
 
24
24
 
25
25
  # Runtime stage: the virtualenv and the code, nothing else.
26
- FROM python:3.13-slim-trixie@sha256:2d44738ebf4ce5f63b9d9ea871e9c7cfdc0426f7b0c97cac915fd88ded1d86bb
26
+ FROM python:3.13-slim-trixie@sha256:e48f59cdba69a3cbd9ed2cf0f348d90d45a8d350d98134cf1070bc106ee9ed90
27
27
 
28
28
  # Static so a local build carries them too; the publish workflow adds version and revision.
29
29
  LABEL org.opencontainers.image.title="vinted-bot" \
@@ -58,7 +58,9 @@ ENV PATH="/app/bin:/app/.venv/bin:$PATH" \
58
58
  VINTED_BOT_LOG_FORMAT=json \
59
59
  VINTED_BOT_WEB_HOST=0.0.0.0
60
60
 
61
- RUN mkdir -p /data && chown vinted:vinted /data
61
+ # Starting the app once fails the build if the virtualenv no longer fits this image, as when
62
+ # the two stages end up on different Python versions.
63
+ RUN /app/.venv/bin/vinted-bot --version && mkdir -p /data && chown vinted:vinted /data
62
64
  VOLUME ["/data"]
63
65
 
64
66
  # No USER line on purpose: the container starts as root only long enough for the wrapper
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: vinted-bot
3
- Version: 2.2.0
4
- Summary: Free, self-hosted Vinted bot and monitor: alerts for new Vinted listings on Discord, Telegram, ntfy or email, with a web dashboard. No login, no subscription.
3
+ Version: 2.3.0
4
+ Summary: Free, self-hosted Vinted bot and monitor: alerts for new Vinted listings on Discord, Telegram, ntfy or email, with a web dashboard. Free, no subscription.
5
5
  Project-URL: Homepage, https://vinted-bot.jaspnerd.dev
6
6
  Project-URL: Source, https://github.com/jasp-nerd/vinted-bot
7
7
  Project-URL: Documentation, https://github.com/jasp-nerd/vinted-bot/tree/main/docs
@@ -81,7 +81,7 @@ no Vinted account and no monthly fee, where paid Vinted bots charge €5 to €3
81
81
  2. **Paste it into vinted-bot** and pick where alerts go: Telegram or Discord, or email and more.
82
82
  3. **Get a message** for each new listing, with photos, the total price including buyer protection, size, condition and seller rating.
83
83
 
84
- It checks every minute. The first check is silent on purpose, so you only hear about listings that appear after you added the search.
84
+ It checks every 5 seconds, and you can go down to every second. The first check is silent on purpose, so you only hear about listings that appear after you added the search.
85
85
 
86
86
  > [!IMPORTANT]
87
87
  > Vinted moved its search to a new address in September 2026, and versions before 2.0 have found nothing since. If you installed earlier, [update](#updating).
@@ -212,7 +212,6 @@ Or open it directly: **[Open in Claude](https://claude.ai/new?q=Please%20help%20
212
212
 
213
213
  - **It tells you when it stops working.** Each search says in plain words how it's doing, and a watchdog notices when Vinted goes quiet and renews the session itself.
214
214
  - No lost or doubled alerts: each one is saved before it's sent and sent once.
215
- - No Vinted account and no login, so there is no account to lose.
216
215
  - No flood of old listings when you add a search.
217
216
 
218
217
  </td>
@@ -271,15 +270,15 @@ With Docker: `docker compose down` stops it; `docker compose down -v` also delet
271
270
 
272
271
  ## FAQ
273
272
 
274
- **Can my Vinted account get banned?** It never logs in, so no account is involved. What Vinted can do is stop answering your internet address for a while if it's asked too often. The app slows down by itself when that happens, and the dashboard tells you.
273
+ **Can my Vinted account get banned?** It reads public listings as a logged-out visitor, so your account isn't involved. What Vinted can do is stop answering your internet address for a while if it's asked too often. The app slows down by itself when that happens, and the dashboard tells you.
275
274
 
276
275
  **Is it really free?** Yes. MIT licence, no paid tier, no sign-up. Paid Vinted alert services cost from about €5 a month, and some charge up to €300.
277
276
 
278
277
  **Does my computer have to stay on?** Yes. Alerts come from the machine it runs on, so they stop while it sleeps. A Raspberry Pi, a NAS or an old laptop left plugged in fixes that: see [Running it somewhere](https://github.com/jasp-nerd/vinted-bot/blob/main/docs/self-hosting.md).
279
278
 
280
- **Why isn't it instant?** Vinted adds new listings to its search a few minutes after they're uploaded, so every tool that reads the search, paid or free, sees them then. Checking more often doesn't change that. It's fast enough for collectors and size hunters, not for racing bots that buy automatically.
279
+ **How fast is it?** A new listing usually reaches your phone 15 to 35 seconds after the seller posts it. Most of that is Vinted itself: its search takes about 15 to 30 seconds to show a new upload, and no tool can see a listing before that. Vinted also keeps each search's results for two minutes, so a tool that just reloads a search can be up to two minutes behind. vinted-bot asks in a way that skips that, then checks again every 5 seconds and sends the alert straight away. It's quick enough to be among the first to see a listing, but it doesn't buy for you.
281
280
 
282
- **Is this allowed?** Vinted's terms prohibit automated access, so running it is your own call. It reads public listings as a logged-out visitor, slowly. More in [docs/legal.md](https://github.com/jasp-nerd/vinted-bot/blob/main/docs/legal.md).
281
+ **Is this allowed?** Vinted's terms prohibit automated access, so running it is your own call. It reads public listings as a logged-out visitor. More in [docs/legal.md](https://github.com/jasp-nerd/vinted-bot/blob/main/docs/legal.md).
283
282
 
284
283
  ## Docs
285
284
 
@@ -301,4 +300,4 @@ It's free, without ads, and it stays that way. If it got you a good find, you ca
301
300
 
302
301
  ---
303
302
 
304
- <sub>Independent open-source tool. Not affiliated with Vinted. It reads public listings anonymously and never logs in, buys, or lists anything; buying for you is deliberately not a feature. MIT licensed.</sub>
303
+ <sub>Independent open-source tool. Not affiliated with Vinted. It reads public listings anonymously and doesn't buy, message or list anything for you. MIT licensed.</sub>
@@ -34,7 +34,7 @@ no Vinted account and no monthly fee, where paid Vinted bots charge €5 to €3
34
34
  2. **Paste it into vinted-bot** and pick where alerts go: Telegram or Discord, or email and more.
35
35
  3. **Get a message** for each new listing, with photos, the total price including buyer protection, size, condition and seller rating.
36
36
 
37
- It checks every minute. The first check is silent on purpose, so you only hear about listings that appear after you added the search.
37
+ It checks every 5 seconds, and you can go down to every second. The first check is silent on purpose, so you only hear about listings that appear after you added the search.
38
38
 
39
39
  > [!IMPORTANT]
40
40
  > Vinted moved its search to a new address in September 2026, and versions before 2.0 have found nothing since. If you installed earlier, [update](#updating).
@@ -165,7 +165,6 @@ Or open it directly: **[Open in Claude](https://claude.ai/new?q=Please%20help%20
165
165
 
166
166
  - **It tells you when it stops working.** Each search says in plain words how it's doing, and a watchdog notices when Vinted goes quiet and renews the session itself.
167
167
  - No lost or doubled alerts: each one is saved before it's sent and sent once.
168
- - No Vinted account and no login, so there is no account to lose.
169
168
  - No flood of old listings when you add a search.
170
169
 
171
170
  </td>
@@ -224,15 +223,15 @@ With Docker: `docker compose down` stops it; `docker compose down -v` also delet
224
223
 
225
224
  ## FAQ
226
225
 
227
- **Can my Vinted account get banned?** It never logs in, so no account is involved. What Vinted can do is stop answering your internet address for a while if it's asked too often. The app slows down by itself when that happens, and the dashboard tells you.
226
+ **Can my Vinted account get banned?** It reads public listings as a logged-out visitor, so your account isn't involved. What Vinted can do is stop answering your internet address for a while if it's asked too often. The app slows down by itself when that happens, and the dashboard tells you.
228
227
 
229
228
  **Is it really free?** Yes. MIT licence, no paid tier, no sign-up. Paid Vinted alert services cost from about €5 a month, and some charge up to €300.
230
229
 
231
230
  **Does my computer have to stay on?** Yes. Alerts come from the machine it runs on, so they stop while it sleeps. A Raspberry Pi, a NAS or an old laptop left plugged in fixes that: see [Running it somewhere](https://github.com/jasp-nerd/vinted-bot/blob/main/docs/self-hosting.md).
232
231
 
233
- **Why isn't it instant?** Vinted adds new listings to its search a few minutes after they're uploaded, so every tool that reads the search, paid or free, sees them then. Checking more often doesn't change that. It's fast enough for collectors and size hunters, not for racing bots that buy automatically.
232
+ **How fast is it?** A new listing usually reaches your phone 15 to 35 seconds after the seller posts it. Most of that is Vinted itself: its search takes about 15 to 30 seconds to show a new upload, and no tool can see a listing before that. Vinted also keeps each search's results for two minutes, so a tool that just reloads a search can be up to two minutes behind. vinted-bot asks in a way that skips that, then checks again every 5 seconds and sends the alert straight away. It's quick enough to be among the first to see a listing, but it doesn't buy for you.
234
233
 
235
- **Is this allowed?** Vinted's terms prohibit automated access, so running it is your own call. It reads public listings as a logged-out visitor, slowly. More in [docs/legal.md](https://github.com/jasp-nerd/vinted-bot/blob/main/docs/legal.md).
234
+ **Is this allowed?** Vinted's terms prohibit automated access, so running it is your own call. It reads public listings as a logged-out visitor. More in [docs/legal.md](https://github.com/jasp-nerd/vinted-bot/blob/main/docs/legal.md).
236
235
 
237
236
  ## Docs
238
237
 
@@ -254,4 +253,4 @@ It's free, without ads, and it stays that way. If it got you a good find, you ca
254
253
 
255
254
  ---
256
255
 
257
- <sub>Independent open-source tool. Not affiliated with Vinted. It reads public listings anonymously and never logs in, buys, or lists anything; buying for you is deliberately not a feature. MIT licensed.</sub>
256
+ <sub>Independent open-source tool. Not affiliated with Vinted. It reads public listings anonymously and doesn't buy, message or list anything for you. MIT licensed.</sub>
@@ -31,7 +31,7 @@ computer can read its data either way.
31
31
 
32
32
  ## How the app limits what can go wrong
33
33
 
34
- - It never logs in to Vinted and never handles Vinted credentials.
34
+ - It reads Vinted as a logged-out visitor and holds no Vinted credentials.
35
35
  - The dashboard listens on `localhost` only unless you change it, and warns in its log when
36
36
  it is reachable from elsewhere without a password.
37
37
  - It only answers to host names it was told about (localhost, IP addresses,
@@ -95,11 +95,8 @@ wins.
95
95
  ### Anonymous only
96
96
 
97
97
  Vinted hands a session cookie to anyone who loads the site, and that cookie is all the
98
- catalog needs. Logging in would unlock more, including buying, and would mean storing
99
- someone's credentials, and would put a real account at risk of the restrictions Vinted has
100
- been applying to suspected automation. Reading public pages as a logged-out visitor is both
101
- safer and simpler, and it makes "we cannot buy for you" an honest statement rather than a
102
- missing feature.
98
+ catalog needs. Reading public pages as a logged-out visitor keeps things simple: there are
99
+ no credentials to store and no account involved.
103
100
 
104
101
  ### Errors are not interchangeable
105
102
 
@@ -66,7 +66,7 @@ folder you start the app from. `vinted-bot migrate` prints the path it used.
66
66
 
67
67
  | Variable | Default | What it does |
68
68
  |---|---|---|
69
- | `POLL_DEFAULT_INTERVAL_S` | `60` | Seconds between checks for a newly added search. Per-search values override it. Anything under 10 is refused. |
69
+ | `POLL_DEFAULT_INTERVAL_S` | `5` | Seconds between checks for a newly added search. Per-search values override it. The shortest is 1. |
70
70
  | `FRESHNESS_WINDOW_MIN` | `20` | How old a listing can be and still count as new. Two things use it. A listing the app can tell was already on Vinted longer ago than this is skipped (see below). And when a search has not completed a check for longer than this (or three of its intervals, if that is longer), because the app was off, the computer asleep or Vinted refusing, the first check back records what is there **without announcing it**, then carries on as normal. A search's own "ignore listings older than" setting overrides it. |
71
71
  | `FIRST_RUN_MODE` | `silent` | What a brand-new search does first time: `silent` notifies nothing, `newest` sends exactly one listing so you can confirm delivery works. |
72
72
  | `REQUEST_TIMEOUT_S` | `15` | How long to wait for Vinted before giving up on one request. |
@@ -79,16 +79,22 @@ It cannot date a listing newer than anything the app has seen, which is why a ga
79
79
  checking is caught up quietly rather than guessed at: anything uploaded while the app was
80
80
  not looking is recorded, not announced.
81
81
 
82
- The 10-second floor is not caution for its own sake: Vinted's own API lags minutes behind
83
- what people upload, sometimes longer, so checking faster finds nothing sooner and does get
84
- you blocked. Vinted's search no longer says when a listing went up, so notifications show
85
- when the app found it, labelled "found" rather than "listed", and nothing in the app
86
- measures the delay between the two.
82
+ How fast that is, measured in November 2026: Vinted's search shows a new upload 15 to 30
83
+ seconds after the seller posts it. It also answers each search from a cache it refreshes
84
+ every two minutes, shared by everyone asking that search, so reloading a search shows
85
+ listings up to two minutes late. The app adds trailing spaces to the search's words, a
86
+ different number on each check: that changes nothing about the results but is enough for
87
+ the cache to treat it as a new search, so every check sees listings as Vinted indexes them.
88
+ With the default 5 seconds between checks, an alert goes out within a few seconds of a
89
+ listing reaching Vinted's search. Checking every second shaves about two seconds off that.
90
+ Vinted's search no longer says when a listing went up, so notifications show when the app
91
+ found it, labelled "found" rather than "listed".
87
92
 
88
93
  ### Staying unblocked
89
94
 
90
95
  | Variable | Default | What it does |
91
96
  |---|---|---|
97
+ | `MAX_SEARCHES_PER_S` | `8` | At most this many searches leave this computer per second, all searches together. Any more wait their turn for a fraction of a second, rather than all firing at once. Vinted answered 12 a second from one address without complaint and started refusing at 20. |
92
98
  | `SESSION_ROTATE_MINUTES` | `60` | Start a fresh anonymous session after this long. Blocks track session age more than request rate. |
93
99
  | `HTTP_IMPERSONATE` | `false` | Make requests present a real browser's TLS fingerprint. Needs the `impersonate` extra. Only worth turning on if you are being blocked while the same search loads fine in a browser. |
94
100
  | `PROXY_FILE` | unset | Path to a text file of proxy URLs, one per line (blank lines and `#` comments ignored). Used in turn; one that gets refused sits out for ten minutes. If all of them are sitting out, requests go direct rather than not at all. Rarely needed. |
@@ -14,9 +14,8 @@ is the right to block you and, if you have an account, to close it.
14
14
 
15
15
  ## What that means in practice
16
16
 
17
- This tool reads public listing pages anonymously. It never logs in, never sends your
18
- credentials anywhere, and never touches your Vinted account. There is no account attached for
19
- Vinted to restrict.
17
+ This tool reads public listing pages anonymously. It doesn't log in, so no credentials are
18
+ stored and there is no account attached for Vinted to restrict.
20
19
 
21
20
  The realistic worst case is that your IP address stops being served, which is temporary and
22
21
  reversible. That is a meaningfully different risk from tools that log in to buy automatically:
@@ -27,10 +26,13 @@ This is also why buying is not a feature here and will not become one.
27
26
 
28
27
  ## Being a reasonable guest
29
28
 
30
- The defaults are deliberately unhurried, and worth keeping that way:
29
+ The defaults keep the load small even though checks are frequent:
31
30
 
32
- - One check a minute per search, with a floor of ten seconds. Vinted's own catalog lags behind
33
- uploads anyway, so faster finds nothing sooner.
31
+ - One check every 5 seconds per search by default, never more than one a second. Vinted's
32
+ search takes 15 to 30 seconds to show a new upload, so going faster than that gains little.
33
+ - At most 8 searches a second leave the computer, all searches together; any more wait their
34
+ turn. In November 2026 Vinted answered 12 a second from one address without complaint and
35
+ started refusing at 20.
34
36
  - One request per check for each country site the search covers. No walking through pages,
35
37
  no fetching every listing's detail page.
36
38
  - A seller's public profile is read only for searches that filter on the seller (country,
@@ -126,10 +126,14 @@ If the check passes, your address is fine and the problem is the app: please ope
126
126
  with your logs. If it fails, your address is being challenged. Options, cheapest first:
127
127
 
128
128
  1. **Wait.** These are usually temporary. The app backs off on its own.
129
- 2. **Slow down.** Raise `VINTED_BOT_POLL_DEFAULT_INTERVAL_S` to 120 or 300. Ten searches
130
- at once from one address is a lot more traffic than one search.
129
+ 2. **Slow down.** Give your searches a longer interval in the dashboard (10 or 30 seconds),
130
+ or lower `VINTED_BOT_MAX_SEARCHES_PER_S` to 2 or 3. Twenty searches checked every second
131
+ from one address is a lot more traffic than one search.
131
132
  3. **Move it home.** Residential connections are challenged far less than datacenter ones. A
132
- Raspberry Pi is enough.
133
+ Raspberry Pi is enough. vinted.com (the US site) goes further: in November 2026 it
134
+ refused every session from a rented server with a browser check that only a real
135
+ browser can pass, while the European sites answered the same server normally. To watch
136
+ vinted.com, run the app at home or use a residential proxy.
133
137
  4. **Turn on TLS impersonation.** Set `VINTED_BOT_HTTP_IMPERSONATE=true`. This makes
134
138
  requests look like a real browser at the connection level rather than like Python. It
135
139
  needs the `impersonate` extra installed, and it is not a magic fix — if your address is
@@ -1,6 +1,6 @@
1
1
  # vinted-bot
2
2
 
3
- > Free, open-source app that watches Vinted searches and sends a message (Telegram, Discord, email and other apps, RSS or a webhook) when a new listing matches. It runs on the user's own computer or server, never logs in to Vinted, and has a web dashboard at http://localhost:8000 where all setup happens. Not affiliated with Vinted. MIT licensed. Source: https://github.com/jasp-nerd/vinted-bot
3
+ > Free, open-source app that watches Vinted searches and sends a message (Telegram, Discord, email and other apps, RSS or a webhook) when a new listing matches. It runs on the user's own computer or server and has a web dashboard at http://localhost:8000 where all setup happens. Not affiliated with Vinted. MIT licensed. Source: https://github.com/jasp-nerd/vinted-bot
4
4
 
5
5
  This file is a complete guide for an AI assistant helping someone install and use vinted-bot. The person is often not technical. Use only the commands in this file; do not invent commands, flags or settings. If something here doesn't match what the person sees, say so and point them to the issue tracker rather than guessing.
6
6
 
@@ -14,13 +14,13 @@ This file is a complete guide for an AI assistant helping someone install and us
14
14
  ## Facts that matter
15
15
 
16
16
  - Alerts only arrive while the computer running vinted-bot is on, awake and online. A laptop that sleeps sends nothing while asleep. Always-on options: a Raspberry Pi, a NAS, a mini PC, an old laptop left plugged in, or a small rented server (a few euros a month).
17
- - No Vinted account is involved. It never asks for Vinted login details. Anything asking for Vinted credentials is not this app.
17
+ - No Vinted account is involved: it reads public listings as a logged-out visitor.
18
18
  - No configuration file is needed, ever. Searches, alert destinations, the Telegram bot token, the dashboard password and phone access are all set in the dashboard. Never tell the person to create or edit a .env file for these.
19
19
  - The dashboard is at http://localhost:8000 on the computer it runs on. It has no password until one is set in Settings, Password. That is fine on the person's own computer. To open it on a phone: Settings, "Open on your phone", switch on "Allow my phone and other devices"; it asks for a password (it suggests one), then shows a QR code and the address to type. It only reaches devices on the same Wi-Fi or home network, not the internet. (Servers and Docker can instead fix VINTED_BOT_WEB_AUTH_TOKEN and VINTED_BOT_WEB_HOST in the environment; those win over the dashboard.)
20
20
  - Forgot the dashboard password: run `vinted-bot reset-password` on the computer running it (Docker: `docker compose exec vinted-bot vinted-bot reset-password`). It prints a new one.
21
21
  - Price limits include Vinted's buyer protection fee, so they match what the person actually pays.
22
22
  - The first check of a new search is silent on purpose, so there is no flood of old listings. Alerts start with listings that appear after that.
23
- - Vinted adds new uploads to its search a few minutes after they are posted, and every tool that reads the search sees them then; vinted-bot checks every minute after that. Nothing can be instant, and the app does not measure or show this delay.
23
+ - Vinted adds new uploads to its search 15 to 30 seconds after they are posted, and no tool can see a listing before that. Vinted also serves each search from a cache it refreshes every two minutes; vinted-bot skips that cache and checks every 5 seconds by default (as often as every second), so alerts usually arrive 15 to 35 seconds after posting.
24
24
  - Vinted moved its search to a new address in September 2026. Versions before 2.0.0 find nothing since then. If someone installed earlier, update first (see Updating).
25
25
 
26
26
  ## Install
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "vinted-bot"
3
- version = "2.2.0"
4
- description = "Free, self-hosted Vinted bot and monitor: alerts for new Vinted listings on Discord, Telegram, ntfy or email, with a web dashboard. No login, no subscription."
3
+ version = "2.3.0"
4
+ description = "Free, self-hosted Vinted bot and monitor: alerts for new Vinted listings on Discord, Telegram, ntfy or email, with a web dashboard. Free, no subscription."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
7
7
  license = "MIT"
@@ -147,6 +147,7 @@ ignore_missing_imports = true
147
147
 
148
148
  [tool.pytest.ini_options]
149
149
  asyncio_mode = "auto"
150
+ asyncio_default_fixture_loop_scope = "function"
150
151
  testpaths = ["tests"]
151
152
  addopts = "-q --strict-markers --strict-config"
152
153
  filterwarnings = ["error"]
@@ -1,3 +1,3 @@
1
1
  """Watch Vinted searches and get notified when something matches."""
2
2
 
3
- __version__ = "2.2.0"
3
+ __version__ = "2.3.0"
@@ -121,7 +121,12 @@ class Application:
121
121
  rotate_after_minutes=settings.session_rotate_minutes,
122
122
  proxies=proxies,
123
123
  )
124
- client = VintedClient(None, sessions, keep_raw=settings.keep_raw_json)
124
+ client = VintedClient(
125
+ None,
126
+ sessions,
127
+ keep_raw=settings.keep_raw_json,
128
+ searches_per_s=settings.max_searches_per_s,
129
+ )
125
130
  dispatcher = Dispatcher(
126
131
  repo=repo,
127
132
  settings=settings,
@@ -43,7 +43,7 @@ from aiogram.types import (
43
43
  )
44
44
 
45
45
  from vinted_bot import managed
46
- from vinted_bot.config import MIN_POLL_INTERVAL_S, Settings
46
+ from vinted_bot.config import Settings
47
47
  from vinted_bot.db.repo import DuplicateSearchError, Repo
48
48
  from vinted_bot.deliver.labels import labels_for
49
49
  from vinted_bot.deliver.telegram import ACTION_PREFIX, BLOCK, HIDE, MUTE
@@ -245,7 +245,7 @@ async def add_search_text(
245
245
  url=normalised,
246
246
  tld=tld,
247
247
  params=params,
248
- poll_interval_s=max(interval_s, MIN_POLL_INTERVAL_S),
248
+ poll_interval_s=interval_s,
249
249
  )
250
250
  except DuplicateSearchError as exc:
251
251
  return html.escape(f"{exc.message} It is search {exc.existing.id}.")
@@ -16,11 +16,12 @@ import platformdirs
16
16
  from pydantic import AliasChoices, Field, PrivateAttr, SecretStr, ValidationError, model_validator
17
17
  from pydantic_settings import BaseSettings, SettingsConfigDict
18
18
 
19
- from vinted_bot.engine.validation import InvalidInputError, parse_timezone
20
-
21
- # Not configurable. Polling faster than this earns 403s without finding items any sooner,
22
- # because Vinted's own catalog lags behind uploads by far more than a few seconds.
23
- MIN_POLL_INTERVAL_S = 10
19
+ from vinted_bot.engine.validation import (
20
+ MIN_INTERVAL_S,
21
+ RECOMMENDED_INTERVAL_S,
22
+ InvalidInputError,
23
+ parse_timezone,
24
+ )
24
25
 
25
26
  # Ceiling for the 403 backoff ladder.
26
27
  MAX_BACKOFF_S = 900
@@ -165,14 +166,21 @@ class Settings(BaseSettings):
165
166
  description="Discard and re-bootstrap a site session once it reaches this age. "
166
167
  "Blocks correlate with session age more than with request rate.",
167
168
  )
169
+ max_searches_per_s: float = Field(
170
+ default=8.0,
171
+ gt=0,
172
+ description="At most this many searches leave this computer per second, all searches "
173
+ "together; any more wait their turn. Vinted answered 12 a second from one address "
174
+ "without complaint and started refusing at 20.",
175
+ )
168
176
  request_timeout_s: float = Field(
169
177
  default=15.0, gt=0, description="Seconds to wait for Vinted before giving up on a request."
170
178
  )
171
179
 
172
180
  # --- Polling -------------------------------------------------------------------
173
181
  poll_default_interval_s: int = Field(
174
- default=60,
175
- ge=MIN_POLL_INTERVAL_S,
182
+ default=RECOMMENDED_INTERVAL_S,
183
+ ge=MIN_INTERVAL_S,
176
184
  description="Default seconds between checks for a new search. Per-search overrides "
177
185
  "live in the database.",
178
186
  )
@@ -0,0 +1,70 @@
1
+ -- Searches may be checked as often as every second (the floor used to be ten seconds), and
2
+ -- searches left at the old default of a minute move to the new default of five seconds.
3
+ -- Any other interval was chosen on purpose and is kept.
4
+ --
5
+ -- Rebuilt rather than altered, because SQLite cannot change a CHECK constraint in place.
6
+ -- Columns are copied by name; the runner turns foreign keys off around this file and
7
+ -- checks them before committing, as for 0004.
8
+
9
+ CREATE TABLE queries_new (
10
+ id INTEGER PRIMARY KEY,
11
+ name TEXT NOT NULL,
12
+ -- Normalised search URL. Not unique: duplicating a search to send a stricter copy
13
+ -- somewhere else is a feature. The CLI and dashboard still refuse an accidental
14
+ -- second paste of the same URL.
15
+ url TEXT NOT NULL,
16
+ tld TEXT NOT NULL,
17
+ params_json TEXT NOT NULL,
18
+ poll_interval_s INTEGER NOT NULL DEFAULT 5 CHECK (poll_interval_s >= 1),
19
+ paused INTEGER NOT NULL DEFAULT 0 CHECK (paused IN (0, 1)),
20
+ banned_keywords_json TEXT NOT NULL DEFAULT '[]',
21
+ include_terms_json TEXT NOT NULL DEFAULT '[]',
22
+ regex TEXT,
23
+ min_total_price REAL,
24
+ max_total_price REAL,
25
+ conditions_json TEXT,
26
+ countries_json TEXT,
27
+ seller_min_rating REAL CHECK (seller_min_rating BETWEEN 0 AND 5),
28
+ seller_min_reviews INTEGER CHECK (seller_min_reviews >= 0),
29
+ skip_unrated_sellers INTEGER NOT NULL DEFAULT 0 CHECK (skip_unrated_sellers IN (0, 1)),
30
+ deal_only_pct INTEGER CHECK (deal_only_pct BETWEEN 1 AND 99),
31
+ max_age_min INTEGER CHECK (max_age_min >= 1),
32
+ color TEXT,
33
+ quiet_start TEXT,
34
+ quiet_end TEXT,
35
+ quiet_mode TEXT NOT NULL DEFAULT 'hold'
36
+ CHECK (quiet_mode IN ('hold', 'drop', 'silent')),
37
+ notes TEXT,
38
+ tags_json TEXT NOT NULL DEFAULT '[]',
39
+ extra_tlds_json TEXT NOT NULL DEFAULT '[]',
40
+ created_at INTEGER NOT NULL,
41
+ updated_at INTEGER NOT NULL,
42
+ resale_price REAL CHECK (resale_price >= 0),
43
+ resale_fee_pct REAL CHECK (resale_fee_pct >= 0 AND resale_fee_pct < 100),
44
+ resale_shipping REAL CHECK (resale_shipping >= 0),
45
+ min_margin REAL CHECK (min_margin >= 0),
46
+ muted_until INTEGER
47
+ );
48
+
49
+ INSERT INTO queries_new (
50
+ id, name, url, tld, params_json, poll_interval_s, paused, banned_keywords_json,
51
+ include_terms_json, regex, min_total_price, max_total_price, conditions_json,
52
+ countries_json, seller_min_rating, seller_min_reviews, skip_unrated_sellers,
53
+ deal_only_pct, max_age_min, color, quiet_start, quiet_end, quiet_mode, notes,
54
+ tags_json, extra_tlds_json, created_at, updated_at, resale_price, resale_fee_pct,
55
+ resale_shipping, min_margin, muted_until
56
+ )
57
+ SELECT
58
+ id, name, url, tld, params_json,
59
+ CASE poll_interval_s WHEN 60 THEN 5 ELSE poll_interval_s END,
60
+ paused, banned_keywords_json,
61
+ include_terms_json, regex, min_total_price, max_total_price, conditions_json,
62
+ countries_json, seller_min_rating, seller_min_reviews, skip_unrated_sellers,
63
+ deal_only_pct, max_age_min, color, quiet_start, quiet_end, quiet_mode, notes,
64
+ tags_json, extra_tlds_json, created_at, updated_at, resale_price, resale_fee_pct,
65
+ resale_shipping, min_margin, muted_until
66
+ FROM queries;
67
+
68
+ DROP TABLE queries;
69
+ ALTER TABLE queries_new RENAME TO queries;
70
+ CREATE INDEX idx_queries_url ON queries(url);
@@ -222,12 +222,14 @@ class Dispatcher:
222
222
  log.info("outbox.recovered", count=recovered)
223
223
 
224
224
  while not self._stop.is_set():
225
+ # Cleared before the pass, not after: a listing queued while this pass is
226
+ # sending sets it again, and the wait below then ends at once.
227
+ self._work.clear()
225
228
  try:
226
229
  await self.drain()
227
230
  except Exception as exc: # keep the loop alive; one bad destination is not fatal
228
231
  log.exception("dispatcher.cycle_failed", error=str(exc))
229
232
 
230
- self._work.clear()
231
233
  with contextlib.suppress(TimeoutError):
232
234
  await asyncio.wait_for(self._work.wait(), timeout=idle_interval_s)
233
235
 
@@ -231,11 +231,19 @@ class Poller:
231
231
  pays, where the other site's would be converted at the day's rate and come out a
232
232
  little different. Both copies used to be judged, the last one's verdict winning.
233
233
  """
234
+ sites = self.query.sites
235
+ # All sites at once: they are separate hosts, and waiting for each in turn put
236
+ # every site's round trip on top of the alert's delay.
237
+ pages = await asyncio.gather(
238
+ *(self._client.search(site, self.query.params) for site in sites),
239
+ return_exceptions=True,
240
+ )
234
241
  found: dict[int, Item] = {}
235
242
  all_full = True
236
- for site in self.query.sites:
237
- self._site = site
238
- page = await self._client.search(site, self.query.params)
243
+ for site, page in zip(sites, pages, strict=True):
244
+ if isinstance(page, BaseException):
245
+ self._site = site
246
+ raise page
239
247
  all_full = all_full and len(page) >= PER_PAGE
240
248
  for item in page:
241
249
  found.setdefault(item.item_id, item)