odaislib 1.0.3__tar.gz → 1.0.4__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.4
2
2
  Name: odaislib
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Facebook Authentication Library with multiple login methods
5
5
  Home-page:
6
6
  Author: Odai
@@ -2,6 +2,7 @@
2
2
  #السكربت و المكتبة لعدي @K33Kz - @K33Ka
3
3
  import requests,re,json,time;from uuid import uuid4
4
4
  class basic:
5
+ @staticmethod
5
6
  def login(email, password, proxies=None):
6
7
  r = requests.get("https://www.facebook.com/?_rd")
7
8
  m = re.search(r'privacy_mutation_token\s*["\']?\s*[:=]\s*["\']?([A-Za-z0-9_\-:.]+)', r.text)
@@ -99,6 +100,7 @@ class basic:
99
100
  "by": "Odai - @K33Kz - @K33Ka"
100
101
  })
101
102
  class auth:
103
+ @staticmethod
102
104
  def login(email, password,proxies=None):
103
105
  data = {
104
106
  "locale": "en_GB",
@@ -142,6 +144,7 @@ class auth:
142
144
  "by": "Odai - @K33Kz - @K33Ka"
143
145
  }
144
146
  class mobile:
147
+ @staticmethod
145
148
  def login(email, password, proxies=None):
146
149
  payload = {
147
150
  'method': "post",
@@ -313,6 +316,7 @@ class mobile:
313
316
 
314
317
  }
315
318
  class apps:
319
+ @staticmethod
316
320
  def get_linked_apps(cookies):
317
321
  headers = {
318
322
  "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: odaislib
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Facebook Authentication Library with multiple login methods
5
5
  Home-page:
6
6
  Author: Odai
@@ -3,7 +3,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
3
3
  long_description = fh.read()
4
4
  setup(
5
5
  name="odaislib",
6
- version="1.0.3",
6
+ version="1.0.4",
7
7
  author="Odai",
8
8
  author_email="odaiobeidat00@gmail.com",
9
9
  description="Facebook Authentication Library with multiple login methods",
File without changes
File without changes