Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -124,7 +124,7 @@ async def linkedin_post_details(post_id: Optional[str] = None, url: Optional[str
|
|
124 |
@app.get("/instagram_post_details")
|
125 |
async def ig_post_detail(post_id: Optional[str] = None, url: Optional[str] = None):
|
126 |
if not url:
|
127 |
-
url = f"https://www.instagram.com/{post_id}"
|
128 |
|
129 |
res = requests.get(
|
130 |
url,
|
|
|
124 |
@app.get("/instagram_post_details")
|
125 |
async def ig_post_detail(post_id: Optional[str] = None, url: Optional[str] = None):
|
126 |
if not url:
|
127 |
+
url = f"https://www.instagram.com/p/{post_id}"
|
128 |
|
129 |
res = requests.get(
|
130 |
url,
|