Исправить парсер в боте Python / requests + aiohttp
51 USDНужно найти и исправить ошибку в парсере. Рассматриваются кандидаты только с опытом работы (работа со Steam), цена не окончательная, при успешном выполнении заказа возможно дальнейшее сотрудничество.
Бот состоит из 3-х частей:
1) (main_sell)
2) (main_buy)
3) Парсер стим-тм (parser TM)
С первыми 2-мя проблем нет, есть проблема в парсере: один из своих циклов он выполняет неправильно.
Парсер состоит из 3-х циклов:
1) Парсит стим, создаёт json (steam.json) со всеми возможными предметами из csgo
2) Парсит тм, создает json (tm.json) со всеми возможными предметами из csgo, выставленными на тм.
3) Сравнивает предметы в обоих джсонах по нашим критериям и создает pars.json с теми скинами, которые прошли сортировку.
Неправильно парсер выполняет первый цикл.
В идеале он должен парсить 1600 страниц стима со скинами (на каждой странице по 10 скинов) и создавать json, в котором будет приблизительно 16000 уникальных предметов, погрешность +-500 скинов, т.к. в стиме их количество варьируется в зависимости от времени парсинга.
На деле же он парсит только первые 10 страниц из 1600, а далее дублирует те 100 скинов в steam.json до тех пор, пока их количество не составит +-16000. Т.е каждый скин он дублирует 160 раз. И вместо 16000 уникальных мы получаем всего 100.
Также добавлю, что бот парсит страницы пачками по 10, т.е. в итоге получается 160 "пачек", из которых в json добавляется лишь одна.
-
107 0 1 Прочитал подробно тз, готов выполнить задание, если заинтересованы в работе пишите в лс обсудем и начну работать
Current freelance projects in the category Python
AI Commenting Platform for TikTok and Instagram.Project Goal Develop a system that allows managing a large number of TikTok and Instagram accounts and automatically posting relevant comments under selected videos using AI. Main Functionality1. Account Management It is necessary to implement the ability to connect accounts:… AI & Machine Learning, Python ∙ 6 hours 27 minutes back ∙ 10 proposals |
Build a customer classification model1. There is client data in Mongo/SQL (approximately 20,000 entries with raw data). 2. It is necessary to build features and a classification model of clients into behavioral groups based on this data. 3. The project should be completed in Python. AI & Machine Learning, Python ∙ 2 days back ∙ 32 proposals |
IT Automation of VAT Reporting
223 USD
It is necessary to develop a system for automating the transfer of sales data from the CRM to the accounting system Wafeq. The system should import bank and payment reports, automatically reconcile payments with invoices, generate invoices for VAT reporting, and minimize manual… AI & Machine Learning, Python ∙ 2 days 6 hours back ∙ 43 proposals |
Account reconciliation tool with the bank, cards, and accountantTechnical Assignment: Tool for Reconciling Accounts with Bank, Cards, and AccountantGeneral Goal A local tool (script/small application in Python) is needed, which is manually run once every 1-2 months on my computer and performs reconciliation between: Invoices I issued to… Python, Desktop Apps ∙ 2 days 18 hours back ∙ 42 proposals |
Automatic video posting on social media according to a scheduleTechnical Assignment (TA) Automatic video publication on social media according to a scheduleProject Description A script/bot (Python preferred, or any other solution of your choice — the main thing is stability and ease of maintenance) is needed, which automatically publishes… Python, Bot Development ∙ 3 days 6 hours back ∙ 59 proposals |