Fix TheTVDB and AniUlt
This commit is contained in:
parent
b3da95bec5
commit
2b6ac41af9
@ -37,7 +37,7 @@ class AnimeUltime(ConnectorCore):
|
|||||||
title = html.select('div.title')
|
title = html.select('div.title')
|
||||||
player = html.select('div.AUVideoPlayer')
|
player = html.select('div.AUVideoPlayer')
|
||||||
|
|
||||||
if 'Recherche' in title[0].get_text():
|
if len(title) > 0 and 'Recherche' in title[0].get_text():
|
||||||
trs = html.select('table.jtable tr')
|
trs = html.select('table.jtable tr')
|
||||||
|
|
||||||
for i, tr in enumerate(trs):
|
for i, tr in enumerate(trs):
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
{% block add_button %}{% endblock %}
|
{% block add_button %}{% endblock %}
|
||||||
{% if request.args.get('q') %}
|
{% if request.args.get('q') %}
|
||||||
<a class="navbar-item has-tooltip-bottom has-tooltip-hidden-desktop" data-tooltip="TVDB"
|
<a class="navbar-item has-tooltip-bottom has-tooltip-hidden-desktop" data-tooltip="TVDB"
|
||||||
href="https://www.thetvdb.com/search?menu%5Btype%5D=TV&query={{ request.args.get('q') }}"
|
href="https://www.thetvdb.com/search?menu%5Btype%5D=series&query={{ request.args.get('q') }}"
|
||||||
target="_blank">
|
target="_blank">
|
||||||
<i class="fa fa-television"></i><i> </i>
|
<i class="fa fa-television"></i><i> </i>
|
||||||
<span class="is-hidden-mobile">TVDB</span>
|
<span class="is-hidden-mobile">TVDB</span>
|
||||||
|
Reference in New Issue
Block a user