Chuyển tới nội dung chính

Core / Share / AutoLoad

Ezy.Module.Selenium.Search.Core

Lớp dữ liệu / entity cho phía worker:

  • EF context SoEzyEntities, repository SOEZY_REPORT_DB.
  • Toàn bộ entity TextSearch_* (yêu cầu/từ khóa tra cứu) và TextSearch_Data_* (bảng kết quả) cho mọi nguồn.
  • Không chứa logic scrape — chỉ định nghĩa cấu trúc dữ liệu.

Ezy.Module.Selenium.Search.Share

Thư viện dùng chung giữa các module worker:

  • SearchBaseService — lớp cơ sở mọi worker kế thừa.
  • Helper Selenium / WinForm: WebBrowserTakeScreenshot, WebBrowserToLoadURL, AsicSelenium, VevoSelenium.
  • Helper dữ liệu: SQLDataContextHelper, DeSearchHelper, TypeSearchKeys.
  • WebhookHelper — gửi kết quả về khách hàng (RestSharp POST).
  • GGChatHelper — gửi cảnh báo vận hành qua Google Chat.

Ezy.Module.Selenium.Search.AutoLoad

App WinForm độc lập, giữ phiên đăng nhập CoreLogic sống:

  • Mở Chrome tới rpp.corelogic.com.au.
  • Tự reload theo timer (AutoLoadConfig.ReloadIntervalMinutes) để tránh bị đăng xuất.
  • Gửi thông báo trạng thái qua Google Chat.

Đây là tiện ích vận hành, không scrape dữ liệu. Credential đăng nhập hiện nằm plaintext trong AutoLoadConfig.json — cần di chuyển ra ngoài repo.