code: def test_broken_video_embed(self, get):
      def get_posts(api_key, blogname, offset=0):
          if offset > 0:
              return []
  
          return [
              {
                  "type": "video",
                  "blog_name": "testy",
                  "slug": "the-slug",
                  "date": "2016-08-14 16:37:35 UTC",
                  "timestamp": 1471192655,
                  "state": "published",
                  "format": "html",
                  "tags": ["interviews"],
                  "source_url": "https://href.li/?https://www.youtube.com/watch?v=b",
                  "source_title": "youtube.com",
                  "caption": "<p>Caption</p>",
                  "player": [
                      {
                          "width": 250,
                          # If video is gone, embed_code is False
                          "embed_code": False,
                      },
                      {"width": 400, "embed_code": False},
                      {"width": 500, "embed_code": False},
                  ],
                  "video_type": "youtube",
              }
          ]
  
      get.side_effect = get_posts
  
      posts = list(tumblr2fields("api_key", "blogname"))
      self.assertEqual(
          [
              (
                  "youtube.com",
                  '<p><a href="https://href.li/?https://www.youtube.com/watch?'
                  'v=b">via</a></p>\n<p>Caption</p>'
                  "<p>(This video isn't available anymore.)</p>\n",
                  "2016-08-14-the-slug",
                  "2016-08-14 16:37:35+0000",
                  "testy",
                  ["video"],
                  ["interviews"],
                  "published",
                  "article",
                  "html",
              )
          ],
          posts,
          posts,
      )
  
imports: import os
  import re
  from posixpath import join
  from unittest.mock import patch
  from pelican.settings import DEFAULT_CONFIG
  from pelican.tests.support import mute, skipIfNoExecutable, temporary_folder, unittest, TestCaseWithCLocale
  from pelican.tools.pelican_import import blogger2fields, build_header, build_markdown_header, decode_wp_content, download_attachments, fields2pelican, get_attachments, tumblr2fields, wp2fields
  from pelican.utils import path_to_file_url, slugify
label_desc: Use image node_id 3 for calling the TestTumblrImporter obj's underlying member method code with example usage: obj.test_broken_video_embed(get) and returns: list, list