-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cookies pop up handling and code coverage badge.
1. Able to get passed cookies pop up on facebook. 2. Enabled code coverage badge.
- Loading branch information
1 parent
afea0a1
commit 1c61d98
Showing
5 changed files
with
67 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM python:3.11-slim | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# curly-girl-vinthers-appointment | ||
This repo scrapes posts from vinthers klippe kælder to fastly notify if there is an available appointment. | ||
|
||
 | ||
 | ||
|
||
This repo scrapes posts from vinthers klippe kælder to fastly notify if there is an available appointment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
coverage=6.4.* | ||
coverage==6.4.* | ||
coloredlogs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Standard library | ||
import logging | ||
import os | ||
|
||
# Third party library | ||
import coloredlogs | ||
|
||
|
||
def getLogger(logger_name: str): | ||
logger_name = os.path.basename(logger_name).replace(".py", "") | ||
logger = logging.getLogger(logger_name) | ||
coloredlogs.install(level="DEBUG", logger=logger) | ||
|
||
return logger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters