Compare commits
No commits in common. "84fd854d15661aaf612ff8f60ff49d777d21d574" and "b921a0803ecfb97368b87b549907ed41112b06ea" have entirely different histories.
84fd854d15
...
b921a0803e
|
|
@ -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 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)",
|
"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)",
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
||||||
|
|
@ -151,6 +151,7 @@ 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