Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

shash29exe/selenium_parser

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Selenium Parser

Описание:

Скрипт парсит данные с ресурса restaurantguru, Парсим названия рестаранов, их ссылку и номера телефонов, Все данные сохраняются в файл.


Stack:

Python, Playwright, BeautifulSoup4, Asyncio

Полное описание зависимостей:

aiohappyeyeballs==2.6.1

aiohttp==3.12.13

aiosignal==1.3.2

attrs==25.3.0

beautifulsoup4==4.13.4

certifi==2025.6.15

cffi==1.17.1

charset-normalizer==3.4.2

frozenlist==1.7.0

greenlet==3.2.3

h11==0.16.0

idna==3.10

multidict==6.5.0

outcome==1.3.0.post0

packaging==25.0

playwright==1.52.0

propcache==0.3.2

pycparser==2.22

pyee==13.0.0

PySocks==1.7.1

python-dotenv==1.1.0

requests==2.32.4

selenium==4.30.0

sniffio==1.3.1

sortedcontainers==2.4.0

soupsieve==2.7

trio==0.30.0

trio-websocket==0.12.2

typing_extensions==4.14.0

urllib3==2.4.0

webdriver-manager==4.0.2

websocket-client==1.8.0

wsproto==1.2.0

yarl==1.20.1


Установка и запуск:

1. Клонирование файлов

git clone https://github.com/shash29exe/selenium_parser.git && cd selenium_parser

2. Создание и активация виртуального окружения (необязательно)

  • Windows

python -m venv venv && .venv/Scripts/activate
  • Linux

python3 -m venv venv && source bin/Scripts/activate

3. Установка зависимостей:

pip install -r req.txt

4. Устнановка браузеров для Playwright:

playwright install

5. Запуск скрипта:

  • Windows

python main.py
  • Linux

python3 main.py

About

Скрипт парсит данные с ресурса restaurantguru.ru, Парсим названия рестаранов, их ссылку и номера телефонов, Все данные сохраняются в файл.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.