odaislib 1.0.2__py3-none-any.whl → 1.0.4__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.
- k33kz/__init__.py +8 -4
- {odaislib-1.0.2.dist-info → odaislib-1.0.4.dist-info}/METADATA +1 -1
- odaislib-1.0.4.dist-info/RECORD +5 -0
- odaislib-1.0.2.dist-info/RECORD +0 -5
- {odaislib-1.0.2.dist-info → odaislib-1.0.4.dist-info}/WHEEL +0 -0
- {odaislib-1.0.2.dist-info → odaislib-1.0.4.dist-info}/top_level.txt +0 -0
k33kz/__init__.py
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
#السكربت و المكتبة لعدي @K33Kz - @K33Ka
|
|
3
3
|
import requests,re,json,time;from uuid import uuid4
|
|
4
4
|
class basic:
|
|
5
|
-
|
|
5
|
+
@staticmethod
|
|
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)
|
|
8
9
|
token = m.group(1) if m else None
|
|
@@ -99,7 +100,8 @@ class basic:
|
|
|
99
100
|
"by": "Odai - @K33Kz - @K33Ka"
|
|
100
101
|
})
|
|
101
102
|
class auth:
|
|
102
|
-
|
|
103
|
+
@staticmethod
|
|
104
|
+
def login(email, password,proxies=None):
|
|
103
105
|
data = {
|
|
104
106
|
"locale": "en_GB",
|
|
105
107
|
"format": "json",
|
|
@@ -142,7 +144,8 @@ class auth:
|
|
|
142
144
|
"by": "Odai - @K33Kz - @K33Ka"
|
|
143
145
|
}
|
|
144
146
|
class mobile:
|
|
145
|
-
|
|
147
|
+
@staticmethod
|
|
148
|
+
def login(email, password, proxies=None):
|
|
146
149
|
payload = {
|
|
147
150
|
'method': "post",
|
|
148
151
|
'pretty': "false",
|
|
@@ -313,7 +316,8 @@ class mobile:
|
|
|
313
316
|
|
|
314
317
|
}
|
|
315
318
|
class apps:
|
|
316
|
-
|
|
319
|
+
@staticmethod
|
|
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",
|
|
319
323
|
"Host": "m.facebook.com",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
k33kz/__init__.py,sha256=mivxa7fql9SzLkrmX1h187qT-1YC4VHukikXkUXZJKI,15691
|
|
2
|
+
odaislib-1.0.4.dist-info/METADATA,sha256=tUiUE-sGI1PtIRCEefSjLKg3aloMc11cCbjEx78AXfA,941
|
|
3
|
+
odaislib-1.0.4.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
4
|
+
odaislib-1.0.4.dist-info/top_level.txt,sha256=3wvp4V0a1Vuwng0HAuy3i2gDSQrn0GznidyGoby2Gcc,6
|
|
5
|
+
odaislib-1.0.4.dist-info/RECORD,,
|
odaislib-1.0.2.dist-info/RECORD
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
k33kz/__init__.py,sha256=leXZeDxoZUAawvawRUiH7lWpLeYnSZs7M_58lc8m8os,15643
|
|
2
|
-
odaislib-1.0.2.dist-info/METADATA,sha256=7PkQkDg0iTXNRAEe_CD-FLniffRhUThDP49xNyt7qLw,941
|
|
3
|
-
odaislib-1.0.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
4
|
-
odaislib-1.0.2.dist-info/top_level.txt,sha256=3wvp4V0a1Vuwng0HAuy3i2gDSQrn0GznidyGoby2Gcc,6
|
|
5
|
-
odaislib-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|