db migration done

This commit is contained in:
jaehwang committed 2026-06-01 15:31:33 +09:00
1 parent c9c5ee9177
commit 3b4c154fb2
23 files changed
+622 -1049

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ class ApifyClient:
async def fetch_instagram_profile(self, url: str) -> dict | None:
username = urlparse(url).path.strip("/").split("/")[0] if "://" in url else url.lstrip("@")
print(username)
items = await self._run_actor("apify~instagram-profile-scraper", {"usernames": [username], "resultsLimit": 12})
return items[0] if items else None