yt-dlp: [9now.com.au] Unable to extract page data

Checklist

  • I’m reporting that yt-dlp is broken on a supported site
  • I’ve verified that I have updated yt-dlp to nightly or master (update instructions)
  • I’ve checked that all provided URLs are playable in a browser with the same IP and same login details
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched known issues, the FAQ, and the bugtracker for similar issues including closed ones. DO NOT post duplicates
  • I’ve read about sharing account credentials and I’m willing to share it if required

Region

Australia

Provide a description that is worded well enough to be understood

yt-dlp now outputs error when tring to download webpage for data scrape.

If you go into devtools the m3u8 is still visible and that can be inputted into yt-dlp without issue. Looks to simple be webpage download step that is failing.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', 'https://www.9now.com.au/married-at-first-sight/season-12/episode-1']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2025.03.07.232704 from yt-dlp/yt-dlp-nightly-builds [05c8023a2] (win_exe)
[debug] Python 3.10.11 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1t  7 Feb 2023)
[debug] exe versions: ffmpeg N-116754-ga754ee0844-20240821 (setts), ffprobe N-116754-ga754ee0844-20240821
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2025.01.31, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.40.1, urllib3-2.3.0, websockets-15.0.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Plugin directories: none
[debug] Loaded 1844 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2025.03.07.232704 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2025.03.07.232704 from yt-dlp/yt-dlp-nightly-builds)
[debug] Using fake IP 1.134.182.26 (AU) as X-Forwarded-For
[9now.com.au] Extracting URL: https://www.9now.com.au/married-at-first-sight/season-12/episode-1
[9now.com.au] episode-1: Downloading webpage
ERROR: [9now.com.au] episode-1: Unable to extract page data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 747, in extract
  File "yt_dlp\extractor\ninenow.py", line 68, in _real_extract
  File "yt_dlp\extractor\common.py", line 1338, in _search_regex

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 3
  • Comments: 46 (9 by maintainers)

Commits related to this issue

Most upvoted comments

This issue is happening again

… I was able to search for the “brightcoveId” …

Yes, as long as the episodes or clips JSON isn’t split between chunks, this can be done. There are many tens of brightcoveIds in (eg) the page for MAFS s12e2, but what we want is the JSON with items that list the episodes (or clips if it’s a clip page) for the show, specifically the item whose .link.webUrl matches the path part of the URL. That JSON is equivalent to what the old extraction was finding.

Here's a patch that might implement the above idea, but it's quite extensive:

(Style tweaked for .encode())

--- old/yt-dlp/yt_dlp/extractor/ninenow.py
+++ new/yt-dlp/yt_dlp/extractor/ninenow.py
@@ -1,34 +1,54 @@
+import re
+
 from .common import InfoExtractor
 from ..utils import (
     ExtractorError,
-    float_or_none,
     int_or_none,
-    smuggle_url,
-    str_or_none,
-    try_get,
+    require,
+    traverse_obj,
     unified_strdate,
     unified_timestamp,
+    url_or_none,
 )
+
+
+AUS_RATINGS = {
+    'P': 0,
+    'C': 7,
+    'G': 0,
+    'PG': 10,
+    'M': 13,
+    'AO': 13,
+    'MA15+': 15,
+    'AV15+': 15,
+    'MAV15+': 15,
+    'R18+': 18,
+}
 
 
 class NineNowIE(InfoExtractor):
     IE_NAME = '9now.com.au'
-    _VALID_URL = r'https?://(?:www\.)?9now\.com\.au/(?:[^/]+/){2}(?P<id>[^/?#]+)'
+    _VALID_URL = r'https?://(?:www\.)?9now\.com\.au(?P<id>/(?:[^/]+/){2}[^/?#]+)'
     _GEO_COUNTRIES = ['AU']
+    _GEO_BYPASS = False
     _TESTS = [{
         # clip
-        'url': 'https://www.9now.com.au/afl-footy-show/2016/clip-ciql02091000g0hp5oktrnytc',
-        'md5': '17cf47d63ec9323e562c9957a968b565',
+        'url': 'https://www.9now.com.au/today/season-2025/clip-cm8hw9h5z00080hquqa5hszq7',
+        'add_ie': ['BrightcoveNew'],
         'info_dict': {
-            'id': '16801',
+            'id': '6370295582112',
             'ext': 'mp4',
-            'title': 'St. Kilda\'s Joey Montagna on the potential for a player\'s strike',
-            'description': 'Is a boycott of the NAB Cup "on the table"?',
+            'title': 'Would Karl Stefanovic be able to land a plane?',
+            'description': 'The Today host\'s skills are put to the test with the latest simulation tech.',
             'uploader_id': '4460760524001',
-            'upload_date': '20160713',
-            'timestamp': 1468421266,
+            'upload_date': '20250320',
+            'timestamp': 1742507988,
+            'duration': 197,
+            'thumbnail': r're:https?://.+/image\.jpg$',
         },
-        'skip': 'Only available in Australia',
+        'params': {
+            'skip_download': 'Only available in Australia',
+        }
     }, {
         # episode
         'url': 'https://www.9now.com.au/afl-footy-show/2016/episode-19',
@@ -40,8 +60,9 @@
     }, {
         # episode of series
         'url': 'https://www.9now.com.au/lego-masters/season-3/episode-3',
+        'add_ie': ['BrightcoveNew'],
         'info_dict': {
-            'id': '6249614030001',
+            'id': '6308830406112',
             'title': 'Episode 3',
             'ext': 'mp4',
             'season_number': 3,
@@ -55,12 +76,44 @@
         'params': {
             'skip_download': True,
         },
+    }, {
+        # episode of series
+        'url': 'https://www.9now.com.au/married-at-first-sight/season-12/episode-2',
+        'add_ie': ['BrightcoveNew'],
+        'info_dict': {
+            'id': '6367870970112',
+            'ext': 'mp4',
+            'title': 'Episode 2',
+            'description': 'The experiment continues as two new couples tie the knot. For some, there\'s instant chemistry; for others, doubts begin to surface, throwing their fairytale day into turmoil.',
+            'timestamp': 1738059300,
+            'upload_date': '20250128',
+            'uploader_id': '4460760524001',
+            'season_number': 12,
+            'episode_number': 2,
+            'series': 'Married at First Sight',
+            'age_limit': 13,
+        },
+        'expected_warnings': ['Ignoring subtitle tracks'],
+        'params': {
+            'skip_download': True,
+        },
     }]
     BRIGHTCOVE_URL_TEMPLATE = 'http://players.brightcove.net/4460760524001/default_default/index.html?videoId=%s'
 
-    def _real_extract(self, url):
-        display_id = self._match_id(url)
-        webpage = self._download_webpage(url, display_id)
+    @staticmethod
+    def _parse_age_limit(s):
+        if isinstance(s, int):
+            return s if 0 <= s <= 21 else None
+        if not isinstance(s, str):
+            return None
+        if s in AUS_RATINGS:
+            return AUS_RATINGS[s]
+        m = re.match(r'^(?P<age>\d{1,2})\+?$', s)
+        if m:
+            return int(m.group('age'))
+        return None
+
+    def _old_extract_common_data(self, webpage, display_id):
         page_data = self._parse_json(self._search_regex(
             r'window\.__data\s*=\s*({.*?});', webpage,
             'page data', default='{}'), display_id, fatal=False)
@@ -77,45 +130,55 @@
             cache = page_data.get(kind, {}).get(f'{kind}Cache', {})
             if not cache:
                 continue
-            common_data = {
+            return {
                 'episode': (cache.get(current_key) or next(iter(cache.values())))[kind],
                 'season': (cache.get(current_key) or next(iter(cache.values()))).get('season', None),
             }
-            break
-        else:
+
+    def _real_extract(self, url):
+        display_id = self._match_id(url)
+        webpage = self._download_webpage(url, display_id)
+
+        shows = self._search_json(
+            r'\\\"(?:episode|clip)s\\\":', webpage, 'episode data', display_id,
+            transform_source=lambda s: s.encode().decode('unicode_escape'),
+            default={})
+        common_data = traverse_obj(shows, (
+            'items', lambda _, v: v['link']['webUrl'] == display_id, any, {
+                'episode': None,
+            })) or self._old_extract_common_data(webpage, display_id)
+        if not common_data:
             raise ExtractorError('Unable to find video data')
 
-        if not self.get_param('allow_unplayable_formats') and try_get(common_data, lambda x: x['episode']['video']['drm'], bool):
+        if not self.get_param('allow_unplayable_formats') and traverse_obj(common_data, ('episode', 'video', 'drm')):
             self.report_drm(display_id)
-        brightcove_id = try_get(
-            common_data, lambda x: x['episode']['video']['brightcoveId'], str) or 'ref:{}'.format(common_data['episode']['video']['referenceId'])
-        video_id = str_or_none(try_get(common_data, lambda x: x['episode']['video']['id'])) or brightcove_id
+        video_id = traverse_obj(common_data, ('episode', 'video', {
+            'bc_id': (('brightcoveId',
+                      ('referenceId', {'ref:{}'.format})),
+                      any, {require('brightcove_id')}),
+            'id': ('id', {str}),
+        }))
+        brightcove_id = video_id['bc_id']
+        video_id = video_id.get('id') or brightcove_id
 
-        title = try_get(common_data, lambda x: x['episode']['name'], str)
-        season_number = try_get(common_data, lambda x: x['season']['seasonNumber'], int)
-        episode_number = try_get(common_data, lambda x: x['episode']['episodeNumber'], int)
-        timestamp = unified_timestamp(try_get(common_data, lambda x: x['episode']['airDate'], str))
-        release_date = unified_strdate(try_get(common_data, lambda x: x['episode']['availability'], str))
-        thumbnails_data = try_get(common_data, lambda x: x['episode']['image']['sizes'], dict) or {}
-        thumbnails = [{
-            'id': thumbnail_id,
-            'url': thumbnail_url,
-            'width': int_or_none(thumbnail_id[1:]),
-        } for thumbnail_id, thumbnail_url in thumbnails_data.items()]
-
-        return {
-            '_type': 'url_transparent',
-            'url': smuggle_url(
-                self.BRIGHTCOVE_URL_TEMPLATE % brightcove_id,
-                {'geo_countries': self._GEO_COUNTRIES}),
-            'id': video_id,
-            'title': title,
-            'description': try_get(common_data, lambda x: x['episode']['description'], str),
-            'duration': float_or_none(try_get(common_data, lambda x: x['episode']['video']['duration'], float), 1000),
-            'thumbnails': thumbnails,
-            'ie_key': 'BrightcoveNew',
-            'season_number': season_number,
-            'episode_number': episode_number,
-            'timestamp': timestamp,
-            'release_date': release_date,
-        }
+        return self.url_result(
+            self.BRIGHTCOVE_URL_TEMPLATE % (brightcove_id,),
+            'BrightcoveNew', video_id, url_transparent=True,
+            **traverse_obj(common_data, ('episode', {
+                'title': ('name', {str}),
+                'description': ('description', {str}),
+                'duration': ('video', 'duration', {int_or_none(scale=1000)}),
+                'thumbnails': ('image', 'sizes', {dict.items}, ..., {
+                    'id': 0,
+                    'url': (1, {url_or_none}),
+                    'width': (0, {lambda x: int_or_none(x[1:])}),
+                }, {lambda x: x.get('url') and x}),
+                'episode_number': ('episodeNumber', {int}),
+                'timestamp': ('airDate', {unified_timestamp}),
+                'release_date': ('availability', {unified_strdate}),
+                'season_number': ('partOfSeason', 'name', {lambda s: int(s.split()[-1])}),
+                'series': ('partOfSeries', 'name', {str}),
+                'age_limit': ('classification', {self._parse_age_limit}),
+            })), **traverse_obj(common_data, {
+                'season_number': ('season', 'seasonNumber', {int_or_none}),
+            }))

I’m having that same problem to. Also it worked for me to yesterday and other previous days

Thanks. It fully working now. Using the lastest master version source

For those that need it in clearer instructions on how to download while this issue is happening, see the video attached. The quality isn’t the best but gives enough.

In chrome: ChromeDev tools (right click Inspect), select the Network tab, type m3u8 in the filter and select Fetch/XHR to help filter it more. Click Stop recording network log or press Ctrl/cmd + E Click Clear network log or Ctrl/cmd + L Click Start recording network log or press Ctrl/cmd + E Refresh the page.

Wait till you see the master.m3u8 file in the network log Click it, then to the right you’ll see Request URL. Copy the whole url, not just to the end of .m3u8

I had issues playing the files in Plex when using “-f bestvideo+bestaudio --merge-output-format mp4”

This is the command I use:

yt-dlp -S “ext,height:720” --referer “The base domain url the video is hosted on” “The m3u8 Request URL”

This is MAFS episode 31 with the full m3u8 link as an example:

yt-dlp -S “ext,height:720” --referer “https://www.9now.com.au” “https://manifest.prod.boltdns.net/manifest/v1/hls/v5/clear/4460760524001/5e78af1b-9ab5-4bde-b9ec-10912859a663/10s/master.m3u8?fastly_token=NjdkZDA2MGVfOTA1NWVmODk1ZDI1ZmUxOTRkMGM4OTdiOWUwNjc3NjBjZTFmYTMxZWM3NmE3ZGY3NTcwNGViZThlYjFjNTFhZQ%3D%3D”

The referer line isn’t needed for 9Now but that’s the same command I use for websites where the videos are private and harder coded to the website (like educational course websites)

As others have said, you still need ffmpeg installed.

And MAFS Episode 32 if you can’t be bothered yt-dlp -S “ext,height:720” --referer “https://www.9now.com.au” “https://manifest.prod.boltdns.net/manifest/v1/hls/v5/clear/4460760524001/2b2f9893-893b-4202-8d94-6609849f966b/10s/master.m3u8?fastly_token=NjdkYzhlYzBfYTZjZWFjMWM4MDNjOWQ3ZjJmZTRlZjBmZDU1YWZlMDFlNzc2MmYxYTkzZWU4ZmQwYzY2NzRiYjFmNzI3YWM1Mg%3D%3D”

For those outside of Aus If you haven’t already noticed, use a VPN server in Aus and it’ll download significantly quicker

https://github.com/user-attachments/assets/a2f015b5-91ab-41ee-a4ac-1fc3a80d148a

Its not so bad. As a test run I was able to search for the “brightcoveId” and then replace the bright cove template variable with the id directly and it proceeded to download just fine. The “brightcoveId” appears to be intact within the NextJS framework, meaning full reassembly is probably not a requirement for a useable extractor.

Just to clarify the problem, which is not specific to this site:

  • the site uses the satanic Next.js web technology that produces page HTML in the form of a skeleton fleshed out by JS loaded from the page, using so-called hydration JSON embedded in the page
  • the extractor expects a version of this stuff where the JSON is one big chunk with a certain structure
  • the site has gradually switched to a newer version of Next.js where the hydration JSON is obscurely split into chunks and, even after reassembly, does not have the same structure
  • therefore the extractor has to be modified to handle this, whether by creating a version of the common routine that extracts Next.js hydration JSON to handle the new version, switching to fetching the necessary data using a site API URL, or otherwise.

So, not straightforward.

Whilst using the master.m3u8 does appear to download the show, it seems to only be the video - the sound is missing. Anyone figured out the solution to that?

It was happening with me, then I used -f bestvideo+bestaudio --merge-output-format mp4 tags and it worked. Note, make sure you have ffmpeg installed, otherwise you will see this warning and then you will have 2 files (one for audio and one for video):

WARNING: You have requested merging of multiple formats but ffmpeg is not installed. The formats won't be merged

MY MISTAKE

I apologise,

I was using youtube-dl instead of yt-dlp

Please disregard my error reports of the past day.

I apologise for wasting anyone’s time, I made a mistake.

I am striking through the posts I made in error.

I am happy to report this has been resolved. Thank you.

Tried uninstalling and reinstalling with brew with --HEAD, tried pip and python3 -m pip, etc.

Still getting the “unable to extract page data” error

@FlaminHat I’ll show how it is possible to install the latest version

Test current version

$ cat $(which yt-dlp)
#!/opt/homebrew/Cellar/yt-dlp/2025.3.21/libexec/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from yt_dlp import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(main())

# Show that it fails
$ yt-dlp https://www.9now.com.au/married-at-first-sight/season-12/episode-31
[9now.com.au] Extracting URL: https://www.9now.com.au/married-at-first-sight/season-12/episode-31
[9now.com.au] episode-31: Downloading webpage
ERROR: [9now.com.au] episode-31: Unable to extract page data; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

Uninstall: brew uninstall yt-dlp

$ brew uninstall yt-dlp
Uninstalling /opt/homebrew/Cellar/yt-dlp/2025.3.21... (765 files, 11.4MB)

Install latest: brew install --HEAD yt-dlp

$ brew install --HEAD yt-dlp
==> Downloading https://formulae.brew.sh/api/formula.jws.json
==> Downloading https://formulae.brew.sh/api/cask.jws.json
==> Fetching dependencies for yt-dlp: pandoc and make
==> Fetching pandoc
==> Downloading https://ghcr.io/v2/homebrew/core/pandoc/manifests/3.6.4
Already downloaded: /Users/mario.apra/Library/Caches/Homebrew/downloads/d9d68bff02e22a964ec96b2efa52a537085605f66cd08407bf96e124e6ac5945--pandoc-3.6.4.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/pandoc/blobs/sha256:5f0301201b216abcc0ba4bf6bc39ee6
Already downloaded: /Users/mario.apra/Library/Caches/Homebrew/downloads/3cff23783c7b61eb0afa952fe555e2e40681f18483fcbc5f7b01d3c5a400a6b6--pandoc--3.6.4.arm64_sequoia.bottle.tar.gz
==> Fetching make
==> Downloading https://ghcr.io/v2/homebrew/core/make/manifests/4.4.1-1
Already downloaded: /Users/mario.apra/Library/Caches/Homebrew/downloads/6d80a49585dfd17106c8ea4aaeed2dab30677c00519e06a3547e0bb391cbf704--make-4.4.1-1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/make/blobs/sha256:f361639a5ec1a9355e12f985c511dd663
Already downloaded: /Users/mario.apra/Library/Caches/Homebrew/downloads/83f1deb0293b80ab17e1bc04da79f171f8b0b381b8c38cd56fff63cd32466483--make--4.4.1.arm64_sequoia.bottle.1.tar.gz
==> Fetching yt-dlp
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/24f8ef93f2eeb25e1da9d8bf071
############################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/2f/c2/f9e977608bdf958650638c3f1e28f85a1b075f
############################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/16/b0/572805e227f01586461c80e0fd25d65a211559
############################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e
############################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/81/e6/64bc71b74eef4b68e61eb921dcf72dabd9e4ec
############################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/ba/d5/861a7daada160fcf6b0393fb741eeb0d0910b0
############################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/63/70/2bf7780ad2d390a8d301ad0b550f1581eadbd9
############################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/aa/63/e53da845320b757bf29ef6a9062f5c669fe997
############################################################################################# 100.0%
==> Downloading https://files.pythonhosted.org/packages/21/e6/26d09fab466b7ca9c7737474c52be4f76a4030
############################################################################################# 100.0%
==> Cloning https://github.com/yt-dlp/yt-dlp.git
Updating /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 9d5e6de2e [ie/9now.com.au] Fix extractor (#12702)
==> Installing dependencies for yt-dlp: pandoc and make
==> Installing yt-dlp dependency: pandoc
==> Downloading https://ghcr.io/v2/homebrew/core/pandoc/manifests/3.6.4
Already downloaded: /Users/mario.apra/Library/Caches/Homebrew/downloads/d9d68bff02e22a964ec96b2efa52a537085605f66cd08407bf96e124e6ac5945--pandoc-3.6.4.bottle_manifest.json
==> Pouring pandoc--3.6.4.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/pandoc/3.6.4: 11 files, 262.7MB
==> Installing yt-dlp dependency: make
==> Downloading https://ghcr.io/v2/homebrew/core/make/manifests/4.4.1-1
Already downloaded: /Users/mario.apra/Library/Caches/Homebrew/downloads/6d80a49585dfd17106c8ea4aaeed2dab30677c00519e06a3547e0bb391cbf704--make-4.4.1-1.bottle_manifest.json
==> Pouring make--4.4.1.arm64_sequoia.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/make/4.4.1: 17 files, 1.3MB
==> Installing yt-dlp --HEAD
==> gmake lazy-extractors pypi-files
==> python3.13 -m venv --system-site-packages --without-pip /opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> python3.13 -m pip --python=/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python install /
==> Caveats
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions
==> Summary
🍺  /opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de: 1,722 files, 19.2MB, built in 55 seconds
==> Running `brew cleanup yt-dlp`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp_bottle_manifest--2025.3.21... (19.6KB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--2025.3.21... (5.0MB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--brotli--1.1.0.tar.gz... (7MB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--charset-normalizer--3.4.1.tar.gz... (120.3KB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--idna--3.10.tar.gz... (186KB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--mutagen--1.47.0.tar.gz... (1.2MB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--pycryptodomex--3.22.0.tar.gz... (4.7MB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--requests--2.32.3.tar.gz... (128.1KB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--urllib3--2.3.0.tar.gz... (300KB)
Removing: /Users/mario.apra/Library/Caches/Homebrew/yt-dlp--websockets--15.0.1.tar.gz... (172.9KB)
==> Caveats
==> yt-dlp
zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions

Test latest version

$ cat $(which yt-dlp)
#!/opt/homebrew/Cellar/yt-dlp/HEAD-9d5e6de/libexec/bin/python
...

# Download the episode
$ yt-dlp -f bestvideo+bestaudio https://www.9now.com.au/married-at-first-sight/season-12/episode-31
[9now.com.au] Extracting URL: https://www.9now.com.au/married-at-first-sight/season-12/episode-31
[9now.com.au] episode-31: Downloading webpage
[brightcove:new] Extracting URL: http://players.brightcove.net/4460760524001/default_default/index.html?videoId=6370174971112
[brightcove:new] 6370174971112: Downloading JSON metadata
[brightcove:new] 6370174971112: Downloading m3u8 information
[brightcove:new] 6370174971112: Downloading m3u8 information
[brightcove:new] 6370174971112: Downloading m3u8 information
[brightcove:new] 6370174971112: Downloading m3u8 information
[brightcove:new] 6370174971112: Downloading m3u8 information
[brightcove:new] 6370174971112: Downloading m3u8 information
[brightcove:new] 6370174971112: Downloading MPD manifest
[brightcove:new] 6370174971112: Downloading MPD manifest
[brightcove:new] 6370174971112: Downloading MPD manifest
[brightcove:new] 6370174971112: Downloading MPD manifest
[info] 6370174971112: Downloading 1 format(s): hls-2230-3+dash-303a0cb7-1721-4539-9a9b-88632ae08700-3
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 410
[download] Destination: Episode 31 [6370174971112].fhls-2230-3.mp4

Since the page is just the result of the satanic tooling, any technically valid structure could be generated, regardless of common sense. Some show with an enormous number of episodes might reveal problems, but by then (looks down towering WIP/TODO stack) we might have an extractor routine that recombines the new-style Next.js chunks.

I’ll update the upstream extractor but anyone is welcome to pick up the patch and PR it here, the more the merrier (use the patch code under Unlicense).

I’m still confused about the geo-restriction situation, though, but that’s obviously a second-order issue.

Was working for MAFS with an automatic bash script that I have used for years with all these kinds of auto-fetch from TV websites:

~/bin/yt-dlp -f ‘bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio’ --merge-output-format mp4 https://www.9now.com.au/married-at-first-sight/season-12/episode-32

up until last night. Now even if I go back to the episodes that worked before (so 31 back to 28), all give this same error.

~/bin/yt-dlp -vU https://www.9now.com.au/married-at-first-sight/season-12/episode-32 looks happy to start with but then I get:

[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest Latest version: nightly@2025.03.16.232921 from yt-dlp/yt-dlp-nightly-builds yt-dlp is up to date (nightly@2025.03.16.232921 from yt-dlp/yt-dlp-nightly-builds) [debug] Using fake IP 1.144.162.110 (AU) as X-Forwarded-For [9now.com.au] Extracting URL: https://www.9now.com.au/married-at-first-sight/season-12/episode-32 [9now.com.au] episode-32: Downloading webpage ERROR: [9now.com.au] episode-32: Unable to extract page data; please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U File “yt_dlp/extractor/common.py”, line 747, in extract File “yt_dlp/extractor/ninenow.py”, line 68, in _real_extract File “yt_dlp/extractor/common.py”, line 1338, in _search_regex

I also tried my username and password options last night but it still gave the same error. It doesn’t look like a DRM issue but feels kind of remote end changed something-ish.

Also tried another show in my autv download setup which gives the same error:

https://www.9now.com.au/space-invaders/season-5/episode-6

I am a Linux bash based user - been at the UNIX/Linux command line since 1987 so am an old dog at all of this but not a python expert by any stretch.

Note for devs in case this needs to be reopened:

I took a look at the page source last night before they rolled back the change, and it looked like the site was using the new version of NextJS with all the push calls. Fun stuff

I’m having the same issue and likewise, it worked yesterday. Where are you finding the m3u8 in devtools and would you care to share the command line you use.

Also wanting to watch MAFs lol

Network tab

…master.m3u8…

yt-dlp.exe “m3u8 url”