JOYN AttributeError: 'NoneType' object has no attribute 'contents' #1

Open
opened 2026-02-24 12:23:44 +00:00 by smith50 · 0 comments

uv run unshackle dl -q 1080 --lang de --s-lang all JOYN https://www.joyn.de/play/serien/germanys-next-topmodel/21-4-einzug-in-berlin-catwalk-fieber-und-erste-entscheidung

│ unshackle\commands\dl.py:1027 in result │
│ │
│ 1024 │ │ │
│ 1025 │ │ with console.status("Fetching Title Metadata...", spinner="do │
│ 1026 │ │ │ try: │
│ ❱ 1027 │ │ │ │ titles = service.get_titles_cached() │
│ 1028 │ │ │ │ if not titles: │
│ 1029 │ │ │ │ │ self.log.error("No titles returned, nothing to do │
│ 1030 │ │ │ │ │ if self.debug_logger: │
│ │
│ unshackle\core\service.py:355 in get_titles_cached │
│ │
│ 352 │ │ account_hash = get_account_hash(self.credential) │
│ 353 │ │ │
│ 354 │ │ # Use title cache to get titles with fallback support │
│ ❱ 355 │ │ return self.title_cache.get_cached_titles( │
│ 356 │ │ │ title_id=str(title_id), │
│ 357 │ │ │ fetch_function=self.get_titles, │
│ 358 │ │ │ region=self.current_region, │
│ │
│ unshackle\core\title_cacher.py:120 in get_cached_titles │
│ │
│ 117 │ │ │
│ 118 │ │ try: │
│ 119 │ │ │ # Attempt to fetch fresh titles │
│ ❱ 120 │ │ │ titles = fetch_function() │
│ 121 │ │ │ │
│ 122 │ │ │ if titles: │
│ 123 │ │ │ │ # Successfully fetched, update cache │
│ │
│ C:\unshackle\unshackle\services\JOYN_init_.py:116 in get_titles │
│ │
│ 113 │ │ r.raise_for_status() │
│ 114 │ │ │
│ 115 │ │ soup = BeautifulSoup(r.text, "html.parser") │
│ ❱ 116 │ │ next_data = json.loads(soup.find("script", {"id": "__NEXT_DATA │
│ 117 │ │ page_props = next_data['props']['pageProps'] │
│ 118 │ │ │
│ 119 │ │ if 'page' in page_props and page_props['page']['__typename'] = │
╰──────────────────────────────────────────────────────────────────────────────╯
AttributeError: 'NoneType' object has no attribute 'contents'

uv run unshackle dl -q 1080 --lang de --s-lang all JOYN https://www.joyn.de/play/serien/germanys-next-topmodel/21-4-einzug-in-berlin-catwalk-fieber-und-erste-entscheidung │ unshackle\commands\dl.py:1027 in result │ │ │ │ 1024 │ │ │ │ 1025 │ │ with console.status("Fetching Title Metadata...", spinner="do │ │ 1026 │ │ │ try: │ │ ❱ 1027 │ │ │ │ titles = service.get_titles_cached() │ │ 1028 │ │ │ │ if not titles: │ │ 1029 │ │ │ │ │ self.log.error("No titles returned, nothing to do │ │ 1030 │ │ │ │ │ if self.debug_logger: │ │ │ │ unshackle\core\service.py:355 in get_titles_cached │ │ │ │ 352 │ │ account_hash = get_account_hash(self.credential) │ │ 353 │ │ │ │ 354 │ │ # Use title cache to get titles with fallback support │ │ ❱ 355 │ │ return self.title_cache.get_cached_titles( │ │ 356 │ │ │ title_id=str(title_id), │ │ 357 │ │ │ fetch_function=self.get_titles, │ │ 358 │ │ │ region=self.current_region, │ │ │ │ unshackle\core\title_cacher.py:120 in get_cached_titles │ │ │ │ 117 │ │ │ │ 118 │ │ try: │ │ 119 │ │ │ # Attempt to fetch fresh titles │ │ ❱ 120 │ │ │ titles = fetch_function() │ │ 121 │ │ │ │ │ 122 │ │ │ if titles: │ │ 123 │ │ │ │ # Successfully fetched, update cache │ │ │ │ C:\unshackle\unshackle\services\JOYN\__init__.py:116 in get_titles │ │ │ │ 113 │ │ r.raise_for_status() │ │ 114 │ │ │ │ 115 │ │ soup = BeautifulSoup(r.text, "html.parser") │ │ ❱ 116 │ │ next_data = json.loads(soup.find("script", {"id": "__NEXT_DATA │ │ 117 │ │ page_props = next_data['props']['pageProps'] │ │ 118 │ │ │ │ 119 │ │ if 'page' in page_props and page_props['page']['__typename'] = │ ╰──────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'NoneType' object has no attribute 'contents'
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lambda/unshackle-services#1
No description provided.