Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JacquieEtMichelTV details #2225

Merged
merged 1 commit into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scrapers/JacquieEtMichelTV/JacquieEtMichelTV.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import base64
from datetime import datetime as dt
from html import unescape

import json
import sys
from py_common import log
Expand Down Expand Up @@ -36,7 +38,7 @@ def scene_from_url(url: str) -> ScrapedScene | None:
log.debug(f"Video data: {json.dumps(video_data)}")
scene: ScrapedScene = {
"title": video_data["name"],
"details": video_data["description"],
"details": unescape(video_data["description"]).strip(),
"date": dt.fromisoformat(video_data["datePublished"]).date().isoformat(),
"tags": [{"name": t} for t in video_data["keywords"].split(",")],
}
Expand Down
2 changes: 1 addition & 1 deletion scrapers/JacquieEtMichelTV/JacquieEtMichelTV.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ sceneByURL:
- JacquieEtMichelTV.py
- scene-by-url

# Last Updated November 19, 2024
# Last Updated March 9, 2025