Prova inspect.stack senza contesto

This commit is contained in:
marco
2022-09-21 20:27:44 +02:00
parent 4987901909
commit fef67c2bbd
6 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ def peliculas(item):
action = 'seasons'
patron = r'<img src="(?P<thumb>[^"]+)(?:[^>]+>){4}\s*<a href="(?P<url>[^"]+)[^>]+>(?P<title>[^<]+)'
if (item.args == 'search' or item.contentType != 'movie') and inspect.stack()[4][3] not in ['get_channel_results']:
if (item.args == 'search' or item.contentType != 'movie') and inspect.stack(0)[4][3] not in ['get_channel_results']:
patronNext = None
def itemlistHook(itemlist):
lastUrl = support.match(data, patron=r'href="([^"]+)">Last').match