Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -26,10 +26,12 @@ async def read_item(username: str, video_id:str):
|
|
26 |
text_maker.ignore_images = True
|
27 |
text_maker.bypass_tables = False
|
28 |
|
29 |
-
print(res.content.decode("utf-8"))
|
30 |
|
31 |
docs = text_maker.handle(res.content.decode("utf-8"))
|
32 |
|
|
|
|
|
33 |
content_detail = docs.split("###")[5]
|
34 |
|
35 |
likes, comments, bookmarks, shares = re.findall(r'\*\*([\w.]+)\*\*', content_detail)
|
|
|
26 |
text_maker.ignore_images = True
|
27 |
text_maker.bypass_tables = False
|
28 |
|
29 |
+
print("RESPONSE DETAIlL", res.content.decode("utf-8"))
|
30 |
|
31 |
docs = text_maker.handle(res.content.decode("utf-8"))
|
32 |
|
33 |
+
print("DOCS", docs)
|
34 |
+
|
35 |
content_detail = docs.split("###")[5]
|
36 |
|
37 |
likes, comments, bookmarks, shares = re.findall(r'\*\*([\w.]+)\*\*', content_detail)
|