gpt4 book ai didi

带有 API v3 的 Youtube 视频标题没有 API key ?

转载 作者:行者123 更新时间:2023-12-03 14:31:57 26 4
gpt4 key购买 nike

是否可以通过 API v3 使用视频 ID 获取视频标题?没有 API key ?我在 API 文档中找不到任何获取标题的信息或示例。

最佳答案

这正是 的含义。 o嵌入 协议(protocol)。

oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.

This document is stored on GitHub.



有关格式的更多信息,请访问: https://oembed.com
https://www.youtube.com/oembed?url=http%3A//youtube.com/watch%3Fv%3DM3r2XDceM6A&format=json

样本输出:
{
"version": "1.0",
"type": "video",
"provider_name": "YouTube",
"provider_url": "http://youtube.com/",
"width": 425,
"height": 344,
"title": "Amazing Nintendo Facts",
"author_name": "ZackScott",
"author_url": "http://www.youtube.com/user/ZackScott",
"html":
"<object width=\"425\" height=\"344\">
<param name=\"movie\" value=\"http://www.youtube.com/v/M3r2XDceM6A&fs=1\"></param>
<param name=\"allowFullScreen\" value=\"true\"></param>
<param name=\"allowscriptaccess\" value=\"always\"></param>
<embed src=\"http://www.youtube.com/v/M3r2XDceM6A&fs=1\"
type=\"application/x-shockwave-flash\" width=\"425\" height=\"344\"
allowscriptaccess=\"always\" allowfullscreen=\"true\"></embed>
</object>",
}

以下是声明遵守该格式的内容提供商列表:
    "provider_name": "23HQ",
"provider_name": "Adways",
"provider_name": "Alpha App Net",
"provider_name": "amCharts Live Editor",
"provider_name": "Animatron",
"provider_name": "Animoto",
"provider_name": "Audiomack",
"provider_name": "AudioSnaps",
"provider_name": "Blackfire.io",
"provider_name": "Box Office Buz",
"provider_name": "Buttondown",
"provider_name": "Cacoo",
"provider_name": "Carbon Health",
"provider_name": "CatBoat",
"provider_name": "ChartBlocks",
"provider_name": "chirbit.com",
"provider_name": "CircuitLab",
"provider_name": "Clipland",
"provider_name": "Clyp",
"provider_name": "Codepen",
"provider_name": "Codepoints",
"provider_name": "CodeSandbox",
"provider_name": "CollegeHumor",
"provider_name": "Commaful",
"provider_name": "Coub",
"provider_name": "Crowd Ranking",
"provider_name": "Cyrano Systems",
"provider_name": "Daily Mile",
"provider_name": "Dailymotion",
"provider_name": "Deviantart.com",
"provider_name": "Didacte",
"provider_name": "Dipity",
"provider_name": "DocDroid",
"provider_name": "Docs",
"provider_name": "Dotsub",
"provider_name": "edocr",
"provider_name": "eduMedia",
"provider_name": "EgliseInfo",
"provider_name": "Embed Articles",
"provider_name": "Embedly",
"provider_name": "Ethfiddle",
"provider_name": "Eyrie",
"provider_name": "Facebook (Video)",
"provider_name": "Flat",
"provider_name": "Flickr",
"provider_name": "FOX SPORTS Australia",
"provider_name": "FrameBuzz",
"provider_name": "FunnyOrDie",
"provider_name": "Geograph Britain and Ireland",
"provider_name": "Geograph Channel Islands",
"provider_name": "Geograph Germany",
"provider_name": "Getty Images",
"provider_name": "Gfycat",
"provider_name": "GIPHY",
"provider_name": "Gyazo",
"provider_name": "HuffDuffer",
"provider_name": "Hulu",
"provider_name": "iFixit",
"provider_name": "IFTTT",
"provider_name": "Indaco",
"provider_name": "Infogram",
"provider_name": "Inoreader",
"provider_name": "inphood",
"provider_name": "Instagram",
"provider_name": "iSnare Articles",
"provider_name": "ivlismusic",
"provider_name": "Kickstarter",
"provider_name": "Kidoju",
"provider_name": "Kit",
"provider_name": "Kitchenbowl",
"provider_name": "Knacki",
"provider_name": "LearningApps.org",
"provider_name": "Ludus",
"provider_name": "MathEmbed",
"provider_name": "me.me",
"provider_name": "Meetup",
"provider_name": "MixCloud",
"provider_name": "Moby Picture",
"provider_name": "Modelo",
"provider_name": "myBeweeg",
"provider_name": "nanoo.tv",
"provider_name": "nfb.ca",
"provider_name": "Odds.com.au",
"provider_name": "Office Mix",
"provider_name": "Official FM",
"provider_name": "On Aol",
"provider_name": "Ora TV",
"provider_name": "Orbitvu",
"provider_name": "Oumy",
"provider_name": "Pastery",
"provider_name": "Pixdor",
"provider_name": "Poll Daddy",
"provider_name": "Port",
"provider_name": "Portfolium",
"provider_name": "Punters",
"provider_name": "Quiz.biz",
"provider_name": "Quizz.biz",
"provider_name": "RapidEngage",
"provider_name": "Reddit",
"provider_name": "ReleaseWire",
"provider_name": "RepubHub",
"provider_name": "ReverbNation",
"provider_name": "Roomshare",
"provider_name": "Rumble",
"provider_name": "Sapo Videos",
"provider_name": "Screen9",
"provider_name": "Screencast.com",
"provider_name": "Screenr",
"provider_name": "ScribbleMaps",
"provider_name": "Scribd",
"provider_name": "ShortNote",
"provider_name": "Shoudio",
"provider_name": "Show the Way, actionable location info",
"provider_name": "Silk",
"provider_name": "Simplecast",
"provider_name": "Sizzle",
"provider_name": "Sketchfab",
"provider_name": "SlideShare",
"provider_name": "SmugMug",
"provider_name": "SocialExplorer",
"provider_name": "Songlink",
"provider_name": "SoundCloud",
"provider_name": "Soundsgood",
"provider_name": "SpeakerDeck",
"provider_name": "Spotful",
"provider_name": "Spreaker",
"provider_name": "Streamable",
"provider_name": "StreamOneCloud",
"provider_name": "Sutori",
"provider_name": "Sway",
"provider_name": "Ted",
"provider_name": "The New York Times",
"provider_name": "They Said So",
"provider_name": "TickCounter",
"provider_name": "Toornament",
"provider_name": "Topy",
"provider_name": "Twitch",
"provider_name": "Twitter",
"provider_name": "Ubideo",
"provider_name": "UOL",
"provider_name": "Ustream",
"provider_name": "Utposts",
"provider_name": "Uttles",
"provider_name": "VeeR VR",
"provider_name": "Verse",
"provider_name": "VEVO",
"provider_name": "VideoJug",
"provider_name": "Vidlit",
"provider_name": "Vimeo",
"provider_name": "Vlipsy",
"provider_name": "wecandeo",
"provider_name": "Wiredrive",
"provider_name": "wizer.me",
"provider_name": "Wootled",
"provider_name": "WordPress.com",
"provider_name": "Yes, I Know IT!",
"provider_name": "YFrog",
"provider_name": "YouTube",
"provider_name": "ZProvider",

请注意,这并不意味着 CORS 在此网站上启用。

这些数据主要用于解析服务器端。

大部分信息也可以通过解析 <meta og>获得 打开图表给定页面的html属性。

http://ogp.me/有关打开图表的信息。

关于带有 API v3 的 Youtube 视频标题没有 API key ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30084140/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com