diff --git a/pirate-get.py b/pirate-get.py index e1096a0..8125eb2 100755 --- a/pirate-get.py +++ b/pirate-get.py @@ -68,8 +68,9 @@ def main(): found = re.findall(""""(magnet\:\?xt=[^"]*)|([^<]+)""", res) # get sizes as well and substitute the   character - sizes = [ match.replace(" ", " ") for match in re.findall("(?<=Size )[0-9]+\.[0-9]+\ \;[KMGT]iB",res) ] - + # print res + sizes = [ match.replace(" ", " ") for match in re.findall("(?<=Size )[0-9.]+\ \;[KMGT]iB",res) ] + # print sizes state = "seeds" curr = ['',0,0] #magnet, seeds, leeches for f in found: