euscan: patch_metadata regex fix to match bz2 sources
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
		@@ -117,7 +117,7 @@ def get_deb_url(name):
 | 
				
			|||||||
        content = opened.read()
 | 
					        content = opened.read()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        for link in BeautifulSoup(content, parseOnlyThese=SoupStrainer("a")):
 | 
					        for link in BeautifulSoup(content, parseOnlyThese=SoupStrainer("a")):
 | 
				
			||||||
            if re.match("[^\s]+\.debian\.tar\.gz", link.text):
 | 
					            if re.match("[^\s]+\.debian\.tar\.(?:gz|bz2)", link.text):
 | 
				
			||||||
                deb_url = link["href"]
 | 
					                deb_url = link["href"]
 | 
				
			||||||
                deb_type = "source"
 | 
					                deb_type = "source"
 | 
				
			||||||
                break
 | 
					                break
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user