Skip to content

bosoprzezswiat hotfix - "jako" regex#108

Open
gallna wants to merge 2 commits into
mbebe:masterfrom
gallna:bosoprzezswiat
Open

bosoprzezswiat hotfix - "jako" regex#108
gallna wants to merge 2 commits into
mbebe:masterfrom
gallna:bosoprzezswiat

Conversation

@gallna
Copy link
Copy Markdown

@gallna gallna commented Apr 1, 2019

diff --git a/zips/plugin.video.bosoprzezswiat/main.py b/zips/plugin.video.bosoprzezswiat/main.py
index 814b84e..4eecaab 100644
--- a/zips/plugin.video.bosoprzezswiat/main.py
+++ b/zips/plugin.video.bosoprzezswiat/main.py
@@ -1,5 +1,5 @@
	html=getUrlReq(link_url)
-	jako=re.findall('source type=".+?mp4.+src="(.+?)".+width="(\d+)".+height="(\d+)"',html)
+	jako=re.findall('source type=".+?mp4.+src="(.+?)".+width[^\d]*(\d+)+.*height[^\d]*(\d+)+',html)
	for href,szer,wys in jako:
	  film = {'href' : PLchar(href),'host' : szer+'x'+wys,}
	  out.append(film)

@gallna
Copy link
Copy Markdown
Author

gallna commented Apr 3, 2019

Ignore this, since it's already sorted,

@xxcriticxx
Copy link
Copy Markdown

@mbebe mozesz zamknac ten PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants