We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ca0c14 commit 38c92d0Copy full SHA for 38c92d0
1 file changed
crawling/koreatech_article/article.py
@@ -3,6 +3,7 @@
3
from config import MYSQL_CONFIG
4
from config import BATCH_CONFIG
5
6
+from emoji import core
7
import requests
8
from bs4 import BeautifulSoup, Comment
9
import urllib3
@@ -406,8 +407,6 @@ def update_db(articles):
406
407
408
article.content = article.content.replace("'", """''""") # sql문에서 작은따옴표 이스케이프 처리
409
- article.author = core.replace_emoji(article.author, replace='')
410
-
411
article.registered_at = parser.parse(article.registered_at).strftime("%Y-%m-%d %H:%M:%S")
412
413
try:
0 commit comments