parent
1b3b4681bf
commit
1755c2ad19
|
@ -1,6 +1,6 @@
|
||||||
# DeGourou (DeDRM + libgourou)
|
# DeGourou (DeDRM + libgourou)
|
||||||
|
|
||||||
#### Automate the process of getting decrypted ebook from [InternetArchive](https://archive.org/) without the need for [Adobe Digital Editions](https://www.adobe.com/in/solutions/ebook/digital-editions/download.html) and [Calibre](https://calibre-ebook.com/).
|
_Automate the process of getting decrypted ebook from [InternetArchive](https://archive.org/) without the need for [Adobe Digital Editions](https://www.adobe.com/in/solutions/ebook/digital-editions/download.html) and [Calibre](https://calibre-ebook.com/)._
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,3 +2,4 @@ pycryptodomex==3.17
|
||||||
oscrypto==1.3.0
|
oscrypto==1.3.0
|
||||||
lxml==4.9.2
|
lxml==4.9.2
|
||||||
requests
|
requests
|
||||||
|
charset-normalizer
|
|
@ -1,5 +1,6 @@
|
||||||
|
from charset_normalizer import md__mypyc
|
||||||
from os import path, mkdir
|
from os import path, mkdir
|
||||||
import requests
|
from requests import Session
|
||||||
import random
|
import random
|
||||||
import string
|
import string
|
||||||
import pickle
|
import pickle
|
||||||
|
@ -27,7 +28,7 @@ def format_data(content_type, fields):
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def login(email, password):
|
def login(email, password):
|
||||||
session = requests.Session()
|
session = Session()
|
||||||
session.get("https://archive.org/account/login")
|
session.get("https://archive.org/account/login")
|
||||||
content_type = "----WebKitFormBoundary"+"".join(random.sample(string.ascii_letters + string.digits, 16))
|
content_type = "----WebKitFormBoundary"+"".join(random.sample(string.ascii_letters + string.digits, 16))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue