Skip to content

Commit bbd1904

Browse files
committed
Bug fix
1 parent b84358c commit bbd1904

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tldextract==5.1.2
1+
tldextract==5.3.1

tldinfo/tldinfo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
from multiprocessing import Pool, cpu_count
55

66
# prints the version message
7-
version = "v0.0.2"
7+
version = "v0.0.3"
88

99
# Initialize single TLDExtract instance at module level for reuse
10-
_extractor = tldextract.TLDExtract(cache_file=False)
10+
_extractor = tldextract.TLDExtract(cache_dir=None)
1111

1212
def PrintVersion():
1313
print(f"Current tldinfo version {version}")
@@ -56,7 +56,7 @@ def _get_process_extractor():
5656
"""Get or initialize process-local extractor for multiprocessing"""
5757
global _process_extractor
5858
if _process_extractor is None:
59-
_process_extractor = tldextract.TLDExtract(cache_file=False)
59+
_process_extractor = tldextract.TLDExtract(cache_dir=None)
6060
return _process_extractor
6161

6262
def process_url_worker(args_tuple):

0 commit comments

Comments
 (0)