Giter Site home page Giter Site logo

productcenter-ru-parser's Introduction

ПАРСЕР САЙТА

https://productcenter.ru/producers/

Порядок работы с парсером:

  1. Открыть файл find_cards_in_product_site.py, и внести в переменную BASE_URL_ADS ссылку на сайт с учётом установленного фильтра по геолокации. Запустить этот файл и указать количество страниц с карточками товаров (при желании можно подпилить этот момент для автоматического определения, я не стал тратить время, мне и так норм для моих задач.). По итогу в файл product_cards_url_list.txt будут собраны ссылки на карточки производителей
  2. Открыть и Запустить скрипт take_contact_info.py, он соберет информацию о контактах производителей в отдельный contact_information.txt файл.
  3. Открыть и запустить скрипт work_with_contact_info.py, он соберёт в отдельные файлы: phone_number_list.txt и mail_list.txt построчно номера телефонов и адреса электронных почтовых ящиков производителей. ВНИМАНИЕ возможен такой расклад, что у производителя в графе "Телефон" было указано 2 или более номеров, в этом случае в txt файле они будут указаны не совсем корректно, обратить на это внимание (при желании можете допилить скрипт, я это может сделаю чуть позже, если мне будет это необходимо).

productcenter-ru-parser's People

Contributors

daniilsh23 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.