Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Made video extension check not case sensitive. Rewrote Bunkr check to match DMCA.Gripe
Mitch Petersendf0e00a805be
diff --git a/geturls.py b/geturls.pyindex ee7ea93b1..d96f6e225 100644--- a/geturls.py+++ b/geturls.py@@ -26,8 +26,7 @@ def Extrair_Links(baseURL):elif 'bunk' in baseURL.lower():for link in soup.find_all(class_="image"):lis = link.get('href')- check = [ext for ext in videoExtensions if (ext in lis)]- if bool(check):+ if any(videoExtension in lis.lower() for videoExtension in videoExtensions):lis = lis.replace('https://cdn.bunkr.to/', 'https://stream.bunkr.to/d/')links.append(lis)@@ -35,7 +34,7 @@ def Extrair_Links(baseURL):elif 'dmca.gripe' in baseURL.lower():for link in soup.find_all('a', {'class': 'download-button'}):lis = link.get('href')- if any(videoExtension in lis for videoExtension in videoExtensions):+ if any(videoExtension in lis.lower() for videoExtension in videoExtensions):# if it's a video, redo the process in gripeVideolinks.append(gripeVideo(lis))elif len(str(lis)) > 30: