user-scanner 1.0.0.1__py3-none-any.whl → 1.0.0.2__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.
user_scanner/social/x.py CHANGED
@@ -18,15 +18,13 @@ def validate_x(user):
18
18
 
19
19
  try:
20
20
  response = httpx.get(url, params=params, headers=headers, timeout = 3.0)
21
- status = response.status_code
22
21
  print(status)
23
22
  if status in [401, 403, 429]:
24
23
  return 2
25
24
 
26
-
25
+
27
26
  elif status == 200:
28
27
  data = response.json()
29
-
30
28
  if data.get('valid') is True:
31
29
  return 1
32
30
  elif data.get('reason') == 'taken':
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: user-scanner
3
- Version: 1.0.0.1
3
+ Version: 1.0.0.2
4
4
  Summary: Check username availability across multiple popular platforms
5
5
  Keywords: username,checker,availability,social,tech,python,user-scanner
6
6
  Author-email: Kaif <kafcodec@gmail.com>
@@ -23,10 +23,10 @@ user_scanner/social/pinterest.py,sha256=5cDmvtAXPtvpsO2vdAd30_Gx11i8L90mYrAU2OgN
23
23
  user_scanner/social/reddit.py,sha256=GkbQ6fPQVDygcOsnpuOkmIpATW5YlbEnKtC8lF2U5w0,1317
24
24
  user_scanner/social/snapchat.py,sha256=Qik4Jfaz3Glo_Wer5NrB7IVTBcP2D8AL_mVRnPXAKkc,1650
25
25
  user_scanner/social/threads.py,sha256=_8pUvLtJ6NT0LA9cEQn2IqIiA0IIn3LKZFaVtbhSMQk,1354
26
- user_scanner/social/x.py,sha256=ZyvjAt2zH8vAVZ18YRxNCDMce4szVkPLDnhmC_c-4T0,1442
26
+ user_scanner/social/x.py,sha256=WEqZV2-LAHh742bHlvfhVJ1pHm5zoKik-RvTORvR0dQ,1383
27
27
  user_scanner/social/youtube.py,sha256=pYBVeYpo1fFdcMAQ22ruka9TFkNpQr1h3YuatM_s0rU,2066
28
- user_scanner-1.0.0.1.dist-info/entry_points.txt,sha256=XqU3kssYZ0vXaPy5qYUOTCu4u-48Xie7QWFpBCYc7Nc,59
29
- user_scanner-1.0.0.1.dist-info/licenses/LICENSE,sha256=XH1QyQG68zo1opDIZHTHcTAbe9XMzewvTaFTukcN9vc,1061
30
- user_scanner-1.0.0.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
31
- user_scanner-1.0.0.1.dist-info/METADATA,sha256=yNp8LRUSZHYLYRxzA2SHav3yV_lzixiFCeMs40MfHHk,452
32
- user_scanner-1.0.0.1.dist-info/RECORD,,
28
+ user_scanner-1.0.0.2.dist-info/entry_points.txt,sha256=XqU3kssYZ0vXaPy5qYUOTCu4u-48Xie7QWFpBCYc7Nc,59
29
+ user_scanner-1.0.0.2.dist-info/licenses/LICENSE,sha256=XH1QyQG68zo1opDIZHTHcTAbe9XMzewvTaFTukcN9vc,1061
30
+ user_scanner-1.0.0.2.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
31
+ user_scanner-1.0.0.2.dist-info/METADATA,sha256=MkAAhdciR-At2g6P2TOKJj7TgKxGqrE1m4TS7qb2zB4,452
32
+ user_scanner-1.0.0.2.dist-info/RECORD,,