waymore 4.6__tar.gz → 4.7__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: waymore
3
- Version: 4.6
3
+ Version: 4.7
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.7
19
19
 
20
20
  The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.
21
21
 
@@ -1,6 +1,6 @@
1
1
  <center><img src="https://github.com/xnl-h4ck3r/waymore/blob/main/waymore/images/title.png"></center>
2
2
 
3
- ## About - v4.6
3
+ ## About - v4.7
4
4
 
5
5
  The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.
6
6
 
@@ -0,0 +1 @@
1
+ __version__="4.7"
@@ -3325,7 +3325,16 @@ def main():
3325
3325
  if subDomain != '':
3326
3326
  inputIsSubDomain = True
3327
3327
  subDomain = subDomain+'.'
3328
- argsInputHostname = subDomain+tldExtract.domain+'.'+tldExtract.suffix
3328
+
3329
+ # Convert domain to punycode
3330
+ punyCode = tldExtract.domain.encode("idna").decode("ascii")
3331
+ if tldExtract.domain != punyCode:
3332
+ 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'))
3333
+ argsInput = argsInput.replace(tldExtract.domain,punyCode)
3334
+ rootDomain = punyCode
3335
+ else:
3336
+ rootDomain = tldExtract.domain
3337
+ argsInputHostname = subDomain+rootDomain+'.'+tldExtract.suffix
3329
3338
 
3330
3339
  # Warn user if a sub domains may have been passed
3331
3340
  if inputIsSubDomain:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: waymore
3
- Version: 4.6
3
+ Version: 4.7
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.7
19
19
 
20
20
  The idea behind **waymore** is to find even more links from the Wayback Machine than other existing tools.
21
21
 
@@ -1 +0,0 @@
1
- __version__="4.6"
File without changes
File without changes
File without changes