Compare commits
2 Commits
b921a0803e
...
84fd854d15
| Author | SHA1 | Date |
|---|---|---|
|
|
84fd854d15 | |
|
|
8e5ce3e012 |
|
|
@ -76,7 +76,7 @@ class FirecrawlClient:
|
||||||
"url": url,
|
"url": url,
|
||||||
"formats": ["json", "links"],
|
"formats": ["json", "links"],
|
||||||
"jsonOptions": {
|
"jsonOptions": {
|
||||||
"prompt": "Extract: clinic name (Korean), clinic name (English), address, phone, business hours, slogan, services offered, doctors with name/title/specialty, brand identity (primary/accent/background/text colors in hex, heading/body fonts, logo URL, favicon URL)",
|
"prompt": "Extract: clinic name (Korean), clinic name (English), address, phone with dash format, business hours, slogan, services offered, doctors with name/title/specialty, brand identity (primary/accent/background/text colors in hex, heading/body fonts, logo URL, favicon URL)",
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
|
|
@ -151,7 +151,6 @@ async def _build_overrides(analysis_run_id: str) -> dict:
|
||||||
if youtube.get("totalViews"): yt_patch["total_views"] = youtube["totalViews"]
|
if youtube.get("totalViews"): yt_patch["total_views"] = youtube["totalViews"]
|
||||||
if youtube.get("publishedAt"): yt_patch["channel_created_date"] = youtube["publishedAt"][:10]
|
if youtube.get("publishedAt"): yt_patch["channel_created_date"] = youtube["publishedAt"][:10]
|
||||||
if youtube.get("description"): yt_patch["channel_description"] = youtube["description"]
|
if youtube.get("description"): yt_patch["channel_description"] = youtube["description"]
|
||||||
if youtube.get("publishedAt"): snapshot["established"] = youtube["publishedAt"][:4]
|
|
||||||
if youtube.get("videos"):
|
if youtube.get("videos"):
|
||||||
yt_patch["top_videos"] = [
|
yt_patch["top_videos"] = [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue