Skip to content

Conversation

@kopeyev
Copy link
Contributor

@kopeyev kopeyev commented Jun 17, 2025

Added parser for scraping hotel data from Booking.com

README.md Outdated
Comment on lines 1 to 3
# Booking.com Parser

<!-- /!\ Non OCA Context : Set here the badge of your runbot / runboat instance. -->
[![Pre-commit Status](https://github.com/it-projects-llc/parsers/actions/workflows/pre-commit.yml/badge.svg?branch=master)](https://github.com/it-projects-llc/parsers/actions/workflows/pre-commit.yml?query=branch%3Amaster)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо перенести все файлы в parse_hotels_italy/

Readme в корневом каталоге оставить как есть

main.py Outdated
Comment on lines 39 to 40
driver = webdriver.Chrome(service=Service(), options=options)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Предлагаю заменить на что-то вроде

driver = webdriver.Remote("http://standalone-chromium:4444/wd/hub", options=options)

Вместо "http://standalone-chromium:4444/wd/hub" брать переменную из env WEBDRIVER_URL

main.py Outdated
Comment on lines 80 to 82
except:
pass

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Надо исправить код, чтобы pre-commit в PR показывал зеленым.

@em230418 em230418 marked this pull request as draft July 24, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants