-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
搜索过于频繁的话 会返回 html内容 #43
Comments
经测试似乎不光是过于频繁,如果搜索的词不存在则第一次会返回这个结果 |
实测搜索过频繁确实会出这个,即使搜索的词是存在的。只能调用 API 时执行重试策略了。 |
请问查询API调用的允许频率是多少? 本地单元测试调试这个接口都调试不了 <!DOCTYPE html>
<html data-theme="light">
<head>
<meta charset="utf-8" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1" name="viewport">
<title>Bangumi 番组计划</title>
<meta name="keywords" content=",ACG,anime,comic,game,music,动漫,音乐,游戏,动画,漫画,番组,bangumi,chii,chobits" />
<meta name="description" content="专注于动漫、音乐、游戏领域,帮助你分享、发现与结识同好的ACG网络" />
<link rel="search" type="application/opensearchdescription+xml" href="SITE_URL/static/xml/opensearch_bgm.xml" title="Bangumi 番组计划" />
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon" />
<link rel="apple-touch-icon-precomposed" href="/img/ico/ico_ios.png" />
<!--[if lte IE 6]>
<script src="/js/pngfixed.js" type="text/javascript"></script>
<script>
DD_belatedPNG.fix('.png_bg,img,#wrapper');
</script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/min/g=css?r353" />
<script type="text/javascript">var SHOW_ROBOT = '0', CHOBITS_UID = 0, SITE_URL = 'SITE_URL', CHOBITS_VER = 'r353';</script>
</head>
<body class="bangumi">
<div id="wrapperNeue" class="wrapperNeue">
<div id="headerNeue2">
<div class="headerNeueInner clearit">
<div class="bg musume_5"></div>
<a href="/" class="logo">Bangumi 番组计划</a>
<input type="checkbox" id="navMenuNeueToggle" />
<label for="navMenuNeueToggle" class="menuCompact"></label>
<div id="navNeue2">
<div id="menuNeue">
<ul id="navMenuNeue" class="clearit">
<li><a href="/anime" class="top chl anime"><span>动画</span></a>
<div class="clear"></div>
<ul class="clearit">
<li><a href="/anime/chart" class="nav">排行榜</a></li>
<li><a href="/calendar" class="nav">每日放送</a></li>
<li><a href="/anime/tag" class="nav">动画标签</a></li>
<li><a href="/anime/browser" class="nav">分类浏览</a></li>
<li><a href="/anime/blog" class="nav">动画日志</a></li>
</ul>
</li>
<li><a href="/book" class="top chl"><span>书籍</span></a>
<div class="clear"></div>
<ul class="clearit">
<li><a href="/book/chart" class="nav">排行榜</a></li>
<li><a href="/book/tag" class="nav">图书标签</a></li>
<li><a href="/book/browser" class="nav">分类浏览</a></li>
<li><a href="/book/blog" class="nav">图书日志</a></li>
</ul>
</li>
<li><a href="/music" class="top chl"><span>音乐</span></a>
<div class="clear"></div>
<ul class="clearit">
<li><a href="/music/chart" class="nav">排行榜</a></li>
<li><a href="/music/tag" class="nav">音乐标签</a></li>
<li><a href="/music/browser" class="nav">浏览全部</a></li>
<li><a href="/music/blog" class="nav">音乐日志</a></li>
</ul>
</li>
<li><a href="/game" class="top chl"><span>游戏</span></a>
<div class="clear"></div>
<ul class="clearit">
<li><a href="/game/chart" class="nav">排行榜</a></li>
<li><a href="/game/tag" class="nav">游戏标签</a></li>
<li><a href="/game/browser" class="nav">平台浏览</a></li>
<li><a href="/game/blog" class="nav">游戏日志</a></li>
</ul>
</li>
<li><a href="/real" class="top chl real"><span>三次元</span></a>
<div class="clear"></div>
<ul class="clearit">
<li><a href="/real/chart" class="nav">排行榜</a></li>
<li><a href="/real/tag" class="nav">三次元标签</a></li>
<li><a href="/real/blog" class="nav">三次元日志</a></li>
<li><a href="/real/browser/platform/jp" class="nav">日剧</a></li>
<li><a href="/real/browser/platform/en" class="nav">欧美剧</a></li>
</ul>
</li>
<li><a href="/mono" class="top"><span>人物</span></a>
<div class="clear"></div>
<ul class="clearit">
<li><a href="/character" class="nav">虚构人物</a></li>
<li><a href="/person" class="nav">现实人物</a></li>
</ul>
</li>
<li><a href="/rakuen" class="top_lite"><span>超展开</span></a></li>
<li><a href="/group" class="top"><span>小组</span></a>
<div class="clear"></div>
<ul class="clearit">
<li><a href="/group/discover" class="nav">随便看看</a></li>
<li><a href="/group/all" class="nav">所有小组</a></li>
</ul>
</li>
<li><a href="javascript:void(0);" class="top"><span>探索</span></a>
<div class="clear"></div>
<ul class="explore clearit">
<li class="single"><a href="/timeline">时空管理局</a></li>
<li class="group">
<span><a href="/blog">日志</a><a href="/index">目录</a><a href="/wiki">维基人</a></span>
</li>
<li class="group"><span><a href="/magi">MAGI 问答</a><a href="/dollars">Dollars</a></span></li>
<li class="group">
<span class="root">客户端</span>
<span><a href="/onair">onAir</a><a href="/group/topic/5155">Mobile</a></span>
</li>
</ul>
</li>
<li class="doujin"><a href="DOUJIN_URL">天窗联盟</a></li>
</ul>
</div>
</div>
<div class="idBadgerNeue">
<div class="guest"><a href="SITE_URL/login" class="guest login">登录</a><a href="SITE_URL/signup" class="guest signup">注册</a></div>
</div><div id="headerSearchWrapper">
<div id="headerSearch">
<form action="/subject_search" method="post">
<div class="inner">
<select name="cat" id="siteSearchSelect">
<option value="all">全部</option>
<option value="2">动画</option>
<option value="1">书籍</option>
<option value="4">游戏</option>
<option value="3">音乐</option>
<option value="6">三次元</option>
<option value="person">人物</option>
</select>
<input id="search_text" name="search_text" class="textfield" type="text" />
<input type="submit" name="submit" value="搜索" class="search" />
</div>
</form>
</div>
</div>
</div>
</div>
<div id="main" class="png_bg"><div class="columns clearit">
<div id="colunmNotice">
<img src="/img/bangumi/404.png" class="ll" />
<div class="message">
<h2>呜咕,出错了</h2>
<p class="text">对不起,您在 秒内只能进行一次搜索,请返回。</p>
<p class="tip_j">/ <a href="/" class="l">返回首页</a> 或 <a href="javascript:history.back();" class="l">回到上页</a></p>
</div>
</div>
</div><div id="footer">
<ul id="footerLinks" class="clearit">
<li class="first">
<dl>
<dt>关于我们</dt>
<dd><a href="SITE_URL/about">关于我们</a></dd>
<dd><a href="SITE_URL/about/guideline">社区指导原则</a><dd>
<dd><a href="SITE_URL/about/copyright">版权声明</a><dd>
<dd><a href="SITE_URL/about/link2us">链接我们</a><dd>
</dl>
</li>
<li>
<dl>
<dt>获取帮助</dt>
<dd><a href="SITE_URL/help/bbcode">BBCode</a></dd>
<dd><a href="SITE_URL/group/forum">站务论坛</a></dd>
<dd><a href="SITE_URL/group/dev">番组开发</a></dd>
<dd><a href="SITE_URL/group/issues">BUG追踪</a></dd>
<dd><a href="SITE_URL/group/doujin">天窗站务</a></dd>
</dl>
</li>
<li>
<dl>
<dt>特别推荐</dt>
<dd><a href="SITE_URL/award/2021">年鉴 2021</a> | <a href="SITE_URL/award/2020">20</a> | <a href="SITE_URL/award/2019">19</a> | <a href="SITE_URL/award/2018">18</a> | <a href="SITE_URL/award/2017">17</a> | <a href="SITE_URL/award/2016">16</a> | <a href="SITE_URL/award/2015">15</a> | <a href="SITE_URL/award/2014">14</a> | <a href="SITE_URL/award/2013">13</a> | <a href="SITE_URL/award/2012">12</a> | <a href="SITE_URL/award/2011">11</a> | <a href="SITE_URL/award/2010">10</a></dd>
<dd><a href="SITE_URL/group/wiki">番組WIKI計画</a></dd>
<dd><a href="SITE_URL/onair">onAir 客户端</a></dd>
<dd><a href="SITE_URL/tokei">etokei 绘时计</a></dd>
</dl>
</li>
<li class="last">
<dl>
<dt>更多</dt>
<dd><a href="SITE_URL/dev/app">开发者平台</a></dd>
<dd><a href="SITE_URL/index">目录</a></dd>
<dd><a href="SITE_URL/wiki">维基人</a></dd>
<dd><a href="SITE_URL/magi">MAGI 问答</a></dd>
<dd><a href="SITE_URL/goodies">周边</a></dd>
<dd><a href="SITE_URL/dollars">Dollars</a></dd>
</dl>
</li>
</ul><div class="copyright"><small class="grey">© 2008-2022 Bangumi (a.k.a.Chobits), some rights reserved | r353</small></div>
</div>
</div></div>
<div class="homeBg"></div>
<div id="dock">
<div class="content">
<ul class="clearit">
<li class="first"><a href="SITE_URL/login">登录</a> | <a href="SITE_URL/signup">注册</a></li>
<li class="last"><a href="javascript:void(0);" id="toggleTheme"></a></li>
<li class="last"><a href="javascript:void(0);" id="showrobot"> </a></li>
</ul>
</div>
</div>
<script src="/min/g=js?r353" type="text/javascript"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4049707-6']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body></html> |
试试新的API接口? |
好的我试试,我找找看新的API是哪个 |
新接口的搜索结果匹配度太低了,搞出来一堆不相关的条目,相关的条目都不知道塞在哪 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: