Skip to content

Commit

Permalink
add: Crawler 부모 클래스 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiteHyun committed Apr 18, 2024
1 parent 02e57c7 commit 031e17b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Crawler/Crawler.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from selenium import webdriver
from abc import ABC, abstractmethod


class Crawler:
def __init__(self):
self._driver = webdriver.Chrome("./chromedriver")
self._driver.implicitly_wait(3)

def __del__(self):
self._driver.quit()

@abstractmethod
def execute(self):
pass
Empty file added Crawler/__init__.py
Empty file.
File renamed without changes.

0 comments on commit 031e17b

Please sign in to comment.