Spaces:
Running
Running
Update app2.py
Browse files
app2.py
CHANGED
@@ -33,11 +33,6 @@ logger = logging.getLogger(__name__)
|
|
33 |
# Ensure output directories exist
|
34 |
Path('output/qr_codes').mkdir(parents=True, exist_ok=True)
|
35 |
|
36 |
-
# At the top of the file, remove these imports:
|
37 |
-
# from config import Config
|
38 |
-
# from proxy_handler import ProxyHandler
|
39 |
-
# from robots_handler import RobotsHandler
|
40 |
-
|
41 |
class URLProcessor:
|
42 |
def __init__(self):
|
43 |
self.session = requests.Session()
|
@@ -529,3 +524,6 @@ def main():
|
|
529 |
inbrowser=True,
|
530 |
debug=True
|
531 |
)
|
|
|
|
|
|
|
|
33 |
# Ensure output directories exist
|
34 |
Path('output/qr_codes').mkdir(parents=True, exist_ok=True)
|
35 |
|
|
|
|
|
|
|
|
|
|
|
36 |
class URLProcessor:
|
37 |
def __init__(self):
|
38 |
self.session = requests.Session()
|
|
|
524 |
inbrowser=True,
|
525 |
debug=True
|
526 |
)
|
527 |
+
|
528 |
+
if __name__ == "__main__":
|
529 |
+
main()
|