뷰성형외과 전용 mock데이터 외삽 알고리즘 추가

This commit is contained in:
jaehwang committed 2026-05-21 15:41:43 +09:00
1 parent cb798f7acc
commit 0e68cbe71b
4 files changed
+816 -4

No files matched your search

+3 -2
View File
@@ -65,7 +65,7 @@ class ApifyClient:
async def fetch_instagram_posts(self, url: str, limit: int = 20) -> list[dict]:
username = urlparse(url).path.strip("/").split("/")[0] if "://" in url else url.lstrip("@")
return await self._run_actor("apify~instagram-post-scraper", {
"directUrls": [f"https://www.instagram.com/{username}/"],
"username": [f"https://www.instagram.com/{username}/"],
"resultsLimit": limit,
})
@@ -94,8 +94,9 @@ class ApifyClient:
async def fetch_instagram_reels(self, url: str, limit: int = 15) -> list[dict]:
username = urlparse(url).path.strip("/").split("/")[0] if "://" in url else url.lstrip("@")
print(username)
return await self._run_actor("apify~instagram-reel-scraper", {
"directUrls": [f"https://www.instagram.com/{username}/reels/"],
"username": [f"https://www.instagram.com/{username}/reels/"],
"resultsLimit": limit,
})