콘텐츠 공유 페이지 및 공유하기, 좋아요, 댓글 기능 추가

This commit is contained in:
skkim committed 2026-05-27 13:08:25 +09:00
1 parent 346b461e9c
commit 5f3e8ec341
27 files changed
+1546 -95

No files matched your search

+4 -1
View File
@@ -1,5 +1,6 @@
import asyncio
import re
from html import unescape
from difflib import SequenceMatcher
from playwright.async_api import async_playwright
from urllib import parse
@@ -99,7 +100,9 @@ patchedGetter.toString();''')
@staticmethod
def _clean_title(text: str) -> str:
return re.sub(r"<.*?>", "", text).strip()
text = unescape(text) # HTML 엔티티 디코딩 (&amp; → &)
text = re.sub(r"<.*?>", "", text) # HTML 태그 제거
return text.strip()
@staticmethod
def _similarity(a: str, b: str) -> float:
+1 -2
View File
@@ -9,8 +9,7 @@ from functools import lru_cache
logger = get_logger("prompt")
_SCOPES = [
"https://www.googleapis.com/auth/spreadsheets.readonly",
"https://www.googleapis.com/auth/drive.readonly"
"https://www.googleapis.com/auth/spreadsheets.readonly"
]
class Prompt():