{
  "description": "Discover Dailymotion videos by keyword, topic, channel, playlist or ID — with language, country, date, duration, verification and live filters.",
  "properties": {
    "country": {
      "default": "",
      "description": "Only include videos published from this country (mode=search, trending). Leave as All countries for every country.",
      "editor": "select",
      "enum": [
        "",
        "AD",
        "AE",
        "AF",
        "AG",
        "AI",
        "AL",
        "AM",
        "AO",
        "AQ",
        "AR",
        "AS",
        "AT",
        "AU",
        "AW",
        "AX",
        "AZ",
        "BA",
        "BB",
        "BD",
        "BE",
        "BF",
        "BG",
        "BH",
        "BI",
        "BJ",
        "BL",
        "BM",
        "BN",
        "BO",
        "BQ",
        "BR",
        "BS",
        "BT",
        "BV",
        "BW",
        "BY",
        "BZ",
        "CA",
        "CC",
        "CD",
        "CF",
        "CG",
        "CH",
        "CI",
        "CK",
        "CL",
        "CM",
        "CN",
        "CO",
        "CR",
        "CU",
        "CV",
        "CW",
        "CX",
        "CY",
        "CZ",
        "DE",
        "DJ",
        "DK",
        "DM",
        "DO",
        "DZ",
        "EC",
        "EE",
        "EG",
        "EH",
        "ER",
        "ES",
        "ET",
        "FI",
        "FJ",
        "FK",
        "FM",
        "FO",
        "FR",
        "GA",
        "GB",
        "GD",
        "GE",
        "GF",
        "GG",
        "GH",
        "GI",
        "GL",
        "GM",
        "GN",
        "GP",
        "GQ",
        "GR",
        "GS",
        "GT",
        "GU",
        "GW",
        "GY",
        "HK",
        "HM",
        "HN",
        "HR",
        "HT",
        "HU",
        "ID",
        "IE",
        "IL",
        "IM",
        "IN",
        "IO",
        "IQ",
        "IR",
        "IS",
        "IT",
        "JE",
        "JM",
        "JO",
        "JP",
        "KE",
        "KG",
        "KH",
        "KI",
        "KM",
        "KN",
        "KP",
        "KR",
        "KW",
        "KY",
        "KZ",
        "LA",
        "LB",
        "LC",
        "LI",
        "LK",
        "LR",
        "LS",
        "LT",
        "LU",
        "LV",
        "LY",
        "MA",
        "MC",
        "MD",
        "ME",
        "MF",
        "MG",
        "MH",
        "MK",
        "ML",
        "MM",
        "MN",
        "MO",
        "MP",
        "MQ",
        "MR",
        "MS",
        "MT",
        "MU",
        "MV",
        "MW",
        "MX",
        "MY",
        "MZ",
        "NA",
        "NC",
        "NE",
        "NF",
        "NG",
        "NI",
        "NL",
        "NO",
        "NP",
        "NR",
        "NU",
        "NZ",
        "OM",
        "PA",
        "PE",
        "PF",
        "PG",
        "PH",
        "PK",
        "PL",
        "PM",
        "PN",
        "PR",
        "PS",
        "PT",
        "PW",
        "PY",
        "QA",
        "RE",
        "RO",
        "RS",
        "RU",
        "RW",
        "SA",
        "SB",
        "SC",
        "SD",
        "SE",
        "SG",
        "SH",
        "SI",
        "SJ",
        "SK",
        "SL",
        "SM",
        "SN",
        "SO",
        "SR",
        "SS",
        "ST",
        "SV",
        "SX",
        "SY",
        "SZ",
        "TC",
        "TD",
        "TF",
        "TG",
        "TH",
        "TJ",
        "TK",
        "TL",
        "TM",
        "TN",
        "TO",
        "TR",
        "TT",
        "TV",
        "TW",
        "TZ",
        "UA",
        "UG",
        "UM",
        "US",
        "UY",
        "UZ",
        "VA",
        "VC",
        "VE",
        "VG",
        "VI",
        "VN",
        "VU",
        "WF",
        "WS",
        "YE",
        "YT",
        "ZA",
        "ZM",
        "ZW"
      ],
      "enumTitles": [
        "All countries",
        "Andorra (AD)",
        "United Arab Emirates (AE)",
        "Afghanistan (AF)",
        "Antigua and Barbuda (AG)",
        "Anguilla (AI)",
        "Albania (AL)",
        "Armenia (AM)",
        "Angola (AO)",
        "Antarctica (AQ)",
        "Argentina (AR)",
        "American Samoa (AS)",
        "Austria (AT)",
        "Australia (AU)",
        "Aruba (AW)",
        "Åland Islands (AX)",
        "Azerbaijan (AZ)",
        "Bosnia and Herzegovina (BA)",
        "Barbados (BB)",
        "Bangladesh (BD)",
        "Belgium (BE)",
        "Burkina Faso (BF)",
        "Bulgaria (BG)",
        "Bahrain (BH)",
        "Burundi (BI)",
        "Benin (BJ)",
        "Saint Barthélemy (BL)",
        "Bermuda (BM)",
        "Brunei (BN)",
        "Bolivia (BO)",
        "Caribbean Netherlands (BQ)",
        "Brazil (BR)",
        "Bahamas (BS)",
        "Bhutan (BT)",
        "Bouvet Island (BV)",
        "Botswana (BW)",
        "Belarus (BY)",
        "Belize (BZ)",
        "Canada (CA)",
        "Cocos (Keeling) Islands (CC)",
        "DR Congo (CD)",
        "Central African Republic (CF)",
        "Congo (CG)",
        "Switzerland (CH)",
        "Côte d'Ivoire (CI)",
        "Cook Islands (CK)",
        "Chile (CL)",
        "Cameroon (CM)",
        "China (CN)",
        "Colombia (CO)",
        "Costa Rica (CR)",
        "Cuba (CU)",
        "Cabo Verde (CV)",
        "Curaçao (CW)",
        "Christmas Island (CX)",
        "Cyprus (CY)",
        "Czechia (CZ)",
        "Germany (DE)",
        "Djibouti (DJ)",
        "Denmark (DK)",
        "Dominica (DM)",
        "Dominican Republic (DO)",
        "Algeria (DZ)",
        "Ecuador (EC)",
        "Estonia (EE)",
        "Egypt (EG)",
        "Western Sahara (EH)",
        "Eritrea (ER)",
        "Spain (ES)",
        "Ethiopia (ET)",
        "Finland (FI)",
        "Fiji (FJ)",
        "Falkland Islands (FK)",
        "Micronesia (FM)",
        "Faroe Islands (FO)",
        "France (FR)",
        "Gabon (GA)",
        "United Kingdom (GB)",
        "Grenada (GD)",
        "Georgia (GE)",
        "French Guiana (GF)",
        "Guernsey (GG)",
        "Ghana (GH)",
        "Gibraltar (GI)",
        "Greenland (GL)",
        "Gambia (GM)",
        "Guinea (GN)",
        "Guadeloupe (GP)",
        "Equatorial Guinea (GQ)",
        "Greece (GR)",
        "South Georgia (GS)",
        "Guatemala (GT)",
        "Guam (GU)",
        "Guinea-Bissau (GW)",
        "Guyana (GY)",
        "Hong Kong (HK)",
        "Heard & McDonald Islands (HM)",
        "Honduras (HN)",
        "Croatia (HR)",
        "Haiti (HT)",
        "Hungary (HU)",
        "Indonesia (ID)",
        "Ireland (IE)",
        "Israel (IL)",
        "Isle of Man (IM)",
        "India (IN)",
        "British Indian Ocean Territory (IO)",
        "Iraq (IQ)",
        "Iran (IR)",
        "Iceland (IS)",
        "Italy (IT)",
        "Jersey (JE)",
        "Jamaica (JM)",
        "Jordan (JO)",
        "Japan (JP)",
        "Kenya (KE)",
        "Kyrgyzstan (KG)",
        "Cambodia (KH)",
        "Kiribati (KI)",
        "Comoros (KM)",
        "Saint Kitts and Nevis (KN)",
        "North Korea (KP)",
        "South Korea (KR)",
        "Kuwait (KW)",
        "Cayman Islands (KY)",
        "Kazakhstan (KZ)",
        "Laos (LA)",
        "Lebanon (LB)",
        "Saint Lucia (LC)",
        "Liechtenstein (LI)",
        "Sri Lanka (LK)",
        "Liberia (LR)",
        "Lesotho (LS)",
        "Lithuania (LT)",
        "Luxembourg (LU)",
        "Latvia (LV)",
        "Libya (LY)",
        "Morocco (MA)",
        "Monaco (MC)",
        "Moldova (MD)",
        "Montenegro (ME)",
        "Saint Martin (MF)",
        "Madagascar (MG)",
        "Marshall Islands (MH)",
        "North Macedonia (MK)",
        "Mali (ML)",
        "Myanmar (MM)",
        "Mongolia (MN)",
        "Macao (MO)",
        "Northern Mariana Islands (MP)",
        "Martinique (MQ)",
        "Mauritania (MR)",
        "Montserrat (MS)",
        "Malta (MT)",
        "Mauritius (MU)",
        "Maldives (MV)",
        "Malawi (MW)",
        "Mexico (MX)",
        "Malaysia (MY)",
        "Mozambique (MZ)",
        "Namibia (NA)",
        "New Caledonia (NC)",
        "Niger (NE)",
        "Norfolk Island (NF)",
        "Nigeria (NG)",
        "Nicaragua (NI)",
        "Netherlands (NL)",
        "Norway (NO)",
        "Nepal (NP)",
        "Nauru (NR)",
        "Niue (NU)",
        "New Zealand (NZ)",
        "Oman (OM)",
        "Panama (PA)",
        "Peru (PE)",
        "French Polynesia (PF)",
        "Papua New Guinea (PG)",
        "Philippines (PH)",
        "Pakistan (PK)",
        "Poland (PL)",
        "Saint Pierre and Miquelon (PM)",
        "Pitcairn Islands (PN)",
        "Puerto Rico (PR)",
        "Palestine (PS)",
        "Portugal (PT)",
        "Palau (PW)",
        "Paraguay (PY)",
        "Qatar (QA)",
        "Réunion (RE)",
        "Romania (RO)",
        "Serbia (RS)",
        "Russia (RU)",
        "Rwanda (RW)",
        "Saudi Arabia (SA)",
        "Solomon Islands (SB)",
        "Seychelles (SC)",
        "Sudan (SD)",
        "Sweden (SE)",
        "Singapore (SG)",
        "Saint Helena (SH)",
        "Slovenia (SI)",
        "Svalbard & Jan Mayen (SJ)",
        "Slovakia (SK)",
        "Sierra Leone (SL)",
        "San Marino (SM)",
        "Senegal (SN)",
        "Somalia (SO)",
        "Suriname (SR)",
        "South Sudan (SS)",
        "São Tomé and Príncipe (ST)",
        "El Salvador (SV)",
        "Sint Maarten (SX)",
        "Syria (SY)",
        "Eswatini (SZ)",
        "Turks and Caicos Islands (TC)",
        "Chad (TD)",
        "French Southern Territories (TF)",
        "Togo (TG)",
        "Thailand (TH)",
        "Tajikistan (TJ)",
        "Tokelau (TK)",
        "Timor-Leste (TL)",
        "Turkmenistan (TM)",
        "Tunisia (TN)",
        "Tonga (TO)",
        "Türkiye (TR)",
        "Trinidad and Tobago (TT)",
        "Tuvalu (TV)",
        "Taiwan (TW)",
        "Tanzania (TZ)",
        "Ukraine (UA)",
        "Uganda (UG)",
        "U.S. Outlying Islands (UM)",
        "United States (US)",
        "Uruguay (UY)",
        "Uzbekistan (UZ)",
        "Vatican City (VA)",
        "Saint Vincent and the Grenadines (VC)",
        "Venezuela (VE)",
        "British Virgin Islands (VG)",
        "U.S. Virgin Islands (VI)",
        "Vietnam (VN)",
        "Vanuatu (VU)",
        "Wallis and Futuna (WF)",
        "Samoa (WS)",
        "Yemen (YE)",
        "Mayotte (YT)",
        "South Africa (ZA)",
        "Zambia (ZM)",
        "Zimbabwe (ZW)"
      ],
      "title": "Country",
      "type": "string"
    },
    "createdAfter": {
      "description": "Only include videos published on or after this date, as `YYYY-MM-DD` (mode=search, trending, byTopic, byUser). Long ranges are fetched automatically in overlapping windows. Dailymotion applies date filters in ~5-minute buckets, so a day boundary can include up to five minutes of neighbouring content.",
      "editor": "textfield",
      "title": "Published after",
      "type": "string"
    },
    "createdBefore": {
      "description": "Only include videos published on or before this date, as `YYYY-MM-DD` (mode=search, trending, byTopic, byUser). Long ranges are fetched automatically in overlapping windows. Dailymotion applies date filters in ~5-minute buckets, so a day boundary can include up to five minutes of neighbouring content.",
      "editor": "textfield",
      "title": "Published before",
      "type": "string"
    },
    "language": {
      "default": "",
      "description": "Only include videos in this language. Leave as All languages for every language.",
      "editor": "select",
      "enum": [
        "",
        "en",
        "fr",
        "es",
        "de",
        "ar",
        "pt",
        "it",
        "ru",
        "zh",
        "ja",
        "ko",
        "hi",
        "ur",
        "fa",
        "id",
        "th",
        "vi",
        "tr",
        "nl",
        "pl",
        "sv",
        "no",
        "da",
        "fi",
        "el",
        "he",
        "ro",
        "cs",
        "hu",
        "uk"
      ],
      "enumTitles": [
        "All languages",
        "English",
        "French",
        "Spanish",
        "German",
        "Arabic",
        "Portuguese",
        "Italian",
        "Russian",
        "Chinese",
        "Japanese",
        "Korean",
        "Hindi",
        "Urdu",
        "Persian",
        "Indonesian",
        "Thai",
        "Vietnamese",
        "Turkish",
        "Dutch",
        "Polish",
        "Swedish",
        "Norwegian",
        "Danish",
        "Finnish",
        "Greek",
        "Hebrew",
        "Romanian",
        "Czech",
        "Hungarian",
        "Ukrainian"
      ],
      "title": "Language",
      "type": "string"
    },
    "liveOnly": {
      "default": false,
      "description": "Only include live streams instead of on-demand videos.",
      "prefill": false,
      "title": "Live streams only",
      "type": "boolean"
    },
    "maxDuration": {
      "description": "Only include videos at most this many seconds long.",
      "maximum": 86400,
      "minimum": 0,
      "title": "Maximum duration (seconds)",
      "type": "integer"
    },
    "maxItems": {
      "default": 20,
      "description": "Maximum number of records to return. Up to 1,000 comes from a single query; higher values automatically sweep Dailymotion's date windows (search/topic/channel modes, newest-first or oldest-first order). Playlist and channel-search modes stay capped at 1,000 per query.",
      "maximum": 10000,
      "minimum": 1,
      "prefill": 3,
      "title": "Max items",
      "type": "integer"
    },
    "minDuration": {
      "description": "Only include videos at least this many seconds long.",
      "maximum": 86400,
      "minimum": 0,
      "title": "Minimum duration (seconds)",
      "type": "integer"
    },
    "mode": {
      "default": "search",
      "description": "What to fetch from Dailymotion.",
      "editor": "select",
      "enum": [
        "search",
        "trending",
        "byTopic",
        "byUser",
        "byPlaylist",
        "byVideoIds",
        "searchUsers"
      ],
      "enumTitles": [
        "Search videos by keyword",
        "Trending videos",
        "Browse a topic/category",
        "Videos from a channel (username)",
        "Videos in a playlist",
        "Look up specific videos by ID or URL",
        "Search channels/users"
      ],
      "prefill": "search",
      "title": "Mode",
      "type": "string"
    },
    "playlists": {
      "default": [],
      "description": "One or more playlists to fetch (mode=byPlaylist). Accepts playlist URLs (`https://www.dailymotion.com/playlist/x6pu6c`) or bare playlist IDs. Existing tasks with the old `playlist` field keep working.",
      "editor": "stringList",
      "prefill": [],
      "title": "Playlist URLs or IDs",
      "type": "array"
    },
    "searchQueries": {
      "description": "One or more keywords to search (mode=search, mode=searchUsers). Each query is paginated up to Max items. Existing tasks with the old `searchQuery` field keep working.",
      "editor": "stringList",
      "prefill": [
        "technology news"
      ],
      "title": "Search queries",
      "type": "array"
    },
    "sortBy": {
      "default": "relevance",
      "description": "Result order. Values apply where the Dailymotion API supports them: `relevance` needs mode=search/searchUsers; `popular` is mode=searchUsers only; `old`/`id-asc` are not available in trending mode. Unsupported values fall back to the mode's default order and the run note says so. Runs with maxItems above 1,000 always use a recent/old time-ordered sweep.",
      "editor": "select",
      "enum": [
        "relevance",
        "recent",
        "trending",
        "visited",
        "visited-hour",
        "visited-today",
        "visited-week",
        "visited-month",
        "random",
        "old",
        "id-asc",
        "popular"
      ],
      "enumTitles": [
        "Most relevant",
        "Most recent",
        "Trending now",
        "Most viewed (all time)",
        "Most viewed this hour",
        "Most viewed today",
        "Most viewed this week",
        "Most viewed this month",
        "Random order",
        "Oldest first",
        "Oldest first (by ID)",
        "Most followed (searchUsers)"
      ],
      "prefill": "relevance",
      "title": "Sort order",
      "type": "string"
    },
    "tag": {
      "description": "Only include videos carrying this tag (mode=search, byTopic, byUser, byPlaylist). Example: `jazz`.",
      "editor": "textfield",
      "title": "Tag filter",
      "type": "string"
    },
    "topic": {
      "default": "news",
      "description": "Dailymotion category to browse (mode=byTopic).",
      "editor": "select",
      "enum": [
        "news",
        "sport",
        "music",
        "tech",
        "animals",
        "auto",
        "people",
        "fun",
        "creation",
        "school",
        "videogames",
        "kids",
        "lifestyle",
        "shortfilms",
        "travel",
        "tv",
        "webcam"
      ],
      "enumTitles": [
        "News",
        "Sports",
        "Music",
        "Tech",
        "Animals",
        "Cars",
        "Celeb",
        "Comedy & Entertainment",
        "Creative",
        "Education",
        "Gaming",
        "Kids",
        "Lifestyle & How-to",
        "Movies",
        "Travel",
        "TV",
        "Webcam"
      ],
      "title": "Topic / category",
      "type": "string"
    },
    "usernames": {
      "default": [],
      "description": "One or more Dailymotion channels to fetch uploads from (mode=byUser). Accepts usernames (`euronews-en`), profile URLs (`https://www.dailymotion.com/user/euronews-en`), or profile IDs. Existing tasks with the old `username` field keep working.",
      "editor": "stringList",
      "prefill": [],
      "title": "Channel usernames or URLs",
      "type": "array"
    },
    "verifiedOnly": {
      "default": false,
      "description": "Only include videos from verified Dailymotion channels (mode=search, trending).",
      "prefill": false,
      "title": "Verified channels only",
      "type": "boolean"
    },
    "videoIds": {
      "default": [],
      "description": "Specific videos to look up (mode=byVideoIds). Accepts bare IDs (`x4d4447`), dailymotion.com/video/... links, or dai.ly links. Unavailable IDs are skipped.",
      "editor": "stringList",
      "prefill": [],
      "title": "Video IDs or URLs",
      "type": "array"
    }
  },
  "required": [
    "mode"
  ],
  "schemaVersion": 1,
  "title": "Dailymotion Scraper Input",
  "type": "object"
}
