Skip to content

Commit

Permalink
BugFix: film leírás nincs mindig töltve
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabor Varga committed May 5, 2022
1 parent 4981e13 commit bbf18e7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.filmpapa" name="FilmPapa HD" version="1.0.9" provider-name="vargalex">
<addon id="plugin.video.filmpapa" name="FilmPapa HD" version="1.0.10" provider-name="vargalex">
<requires>
<import addon="script.module.resolveurl" version="5.1.00"/>
</requires>
Expand All @@ -11,7 +11,7 @@
<description lang="en">Nézd meg a filmeket, sorozatokat a https://plusz.club oldalról!</description>
<language>hu</language>
<platform>all</platform>
<news>- Forrás változás követése felirat kinyerésekor
<news>- Film leírás nincs mindig töltve
</news>
<assets>
<icon>icon.png</icon>
Expand Down
4 changes: 3 additions & 1 deletion changelog.txt
@@ -1,4 +1,6 @@
[B]1.0.9[/B]
[B]1.0.10[/B]
- Film leírás nincs mindig töltve
[B]1.0.9[/B]
- Forrás változás követése felirat kinyerésekor
[B]1.0.8[/B]
- Ékezetes keresés javítása
Expand Down
6 changes: 5 additions & 1 deletion resources/lib/indexers/navigator.py
Expand Up @@ -109,7 +109,11 @@ def getItems(self, url, page, itemlistNr, sort, search):
time = client.parseDOM(time, 'span')[0].replace('min', '').strip()
except:
time = 0
plot = client.replaceHTMLCodes(client.parseDOM(movieData, 'div', attrs={'class': 'description'})[0])
plot = ""
try:
plot = client.replaceHTMLCodes(client.parseDOM(movieData, 'div', attrs={'class': 'description'})[0])
except:
pass
try:
fullimdb = client.parseDOM(movieData, 'div', attrs={'class': 'imdb-count'})[0]
imdb = fullimdb.split(" ")[0]
Expand Down

0 comments on commit bbf18e7

Please sign in to comment.