waymore 4.6__py3-none-any.whl → 4.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
waymore/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__="4.6"
1
+ __version__="4.8"
waymore/waymore.py CHANGED
@@ -869,6 +869,9 @@ def processArchiveUrl(url):
869
869
  parsed = urlparse(targetUrl.strip())
870
870
  path = parsed.path
871
871
  extension = path[path.rindex('.')+1:]
872
+ # If there is a / in the extension then it's not the extension at all, so reset to blank
873
+ if '/' in extension:
874
+ extension = ''
872
875
  except:
873
876
  pass
874
877
 
@@ -3325,7 +3328,16 @@ def main():
3325
3328
  if subDomain != '':
3326
3329
  inputIsSubDomain = True
3327
3330
  subDomain = subDomain+'.'
3328
- argsInputHostname = subDomain+tldExtract.domain+'.'+tldExtract.suffix
3331
+
3332
+ # Convert domain to punycode
3333
+ punyCode = tldExtract.domain.encode("idna").decode("ascii")
3334
+ if tldExtract.domain != punyCode:
3335
+ writerr(colored(getSPACER(f'IMPORTANT: You passed a domain that contains unicode characters, so this will be converted to Punycode when retrieving from archived sources, i.e. {punyCode}.{tldExtract.suffix}\n'),'yellow'))
3336
+ argsInput = argsInput.replace(tldExtract.domain,punyCode)
3337
+ rootDomain = punyCode
3338
+ else:
3339
+ rootDomain = tldExtract.domain
3340
+ argsInputHostname = subDomain+rootDomain+'.'+tldExtract.suffix
3329
3341
 
3330
3342
  # Warn user if a sub domains may have been passed
3331
3343
  if inputIsSubDomain:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: waymore
3
- Version: 4.6
3
+ Version: 4.8
4
4
  Summary: Find way more from the Wayback Machine, Common Crawl, Alien Vault OTX, URLScan & VirusTotal!
5
5
  Home-page: https://github.com/xnl-h4ck3r/waymore
6
6
  Author: @xnl-h4ck3r
@@ -15,7 +15,7 @@ Requires-Dist: tldextract
15
15
 
16
16
  <center><img src="https://github.com/xnl-h4ck3r/waymore/blob/main/waymore/images/title.png"></center>
17
17
 
18
- ## About - v4.6
18
+ ## About - v4.8
19
19
 
20
20
  The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.
21
21
 
@@ -0,0 +1,8 @@
1
+ waymore/__init__.py,sha256=-t8GjsyRbSC4139Fatl_6nfBGT7CiXt5Wum23cNXliU,17
2
+ waymore/waymore.py,sha256=pN7oDjNjifN5-UI-Gvo1X7bDQz3t_3FPWQ0g0QSSmRY,177910
3
+ waymore-4.8.dist-info/LICENSE,sha256=o_jq62xZ1YxI8tqzQKbNtqr3RW2i5sh0rk6ixCJEroU,1068
4
+ waymore-4.8.dist-info/METADATA,sha256=0uaYGyi7rJuYMWHf_vBb4VYmV5rFtrG5-f4PyqLFqOg,49511
5
+ waymore-4.8.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
6
+ waymore-4.8.dist-info/entry_points.txt,sha256=YHy5EUf3r_7OTkt9jvylLjNeg7Z5yvIVm5RUAyfNcN4,49
7
+ waymore-4.8.dist-info/top_level.txt,sha256=RFTphkWaRu1N7lUWIPUjabgCPQ3ETmNllF7qze4JJ_s,8
8
+ waymore-4.8.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- waymore/__init__.py,sha256=nBVFOoDYjRXcFurm_7co-GNVg6LUhzeZpudhmYNojHw,17
2
- waymore/waymore.py,sha256=FhSRlLoK9DBGojEX89rMQdZ-bEacPSxJg2BJwQfUJGA,177093
3
- waymore-4.6.dist-info/LICENSE,sha256=o_jq62xZ1YxI8tqzQKbNtqr3RW2i5sh0rk6ixCJEroU,1068
4
- waymore-4.6.dist-info/METADATA,sha256=oQMMrr_MbK_QPmShWY-TrHf-bxOg9dtjdUK76QE29H8,49511
5
- waymore-4.6.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
6
- waymore-4.6.dist-info/entry_points.txt,sha256=YHy5EUf3r_7OTkt9jvylLjNeg7Z5yvIVm5RUAyfNcN4,49
7
- waymore-4.6.dist-info/top_level.txt,sha256=RFTphkWaRu1N7lUWIPUjabgCPQ3ETmNllF7qze4JJ_s,8
8
- waymore-4.6.dist-info/RECORD,,
File without changes
File without changes