From a817299570cef674173b87eeba77e15f26d7cd0d Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 18 Nov 2020 13:36:59 +0100 Subject: Fix missing dependencies and variable exports --- tools/get_p2_url.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/get_p2_url.py') diff --git a/tools/get_p2_url.py b/tools/get_p2_url.py index f2162cd..2befda6 100644 --- a/tools/get_p2_url.py +++ b/tools/get_p2_url.py @@ -1,18 +1,18 @@ #!/usr/bin/env python3 -import requests import re -from bs4 import BeautifulSoup import sys import lzma from urllib.parse import urlparse from contextlib import suppress import os from os import path -from tqdm import tqdm import shutil import time from pathlib import Path +import requests +from bs4 import BeautifulSoup + def fucked_up_get(*args, **kwargs): for retry in range(5): for timeout in [0.1, 0.5, 1.0, 2.0, 5.0]: -- cgit