isrpa 0.8.6__tar.gz → 0.8.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.
- {isrpa-0.8.6 → isrpa-0.8.7}/PKG-INFO +1 -1
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa/utils.py +8 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa.egg-info/PKG-INFO +1 -1
- {isrpa-0.8.6 → isrpa-0.8.7}/setup.py +1 -1
- {isrpa-0.8.6 → isrpa-0.8.7}/README.md +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa/OCR.py +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa/Template.py +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa/Template_Exception.py +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa/__init__.py +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa/message.py +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa.egg-info/SOURCES.txt +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa.egg-info/dependency_links.txt +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa.egg-info/requires.txt +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/isrpa.egg-info/top_level.txt +0 -0
- {isrpa-0.8.6 → isrpa-0.8.7}/setup.cfg +0 -0
@@ -102,6 +102,14 @@ def save_file(url, cookies, file_path):
|
|
102
102
|
for item in cookies:
|
103
103
|
if top_level_domain in item.get("domain"):
|
104
104
|
cookie[item["name"]] = item["value"]
|
105
|
+
print("------top_level_domain------")
|
106
|
+
print(top_level_domain)
|
107
|
+
print("------raw cookies------")
|
108
|
+
print(cookies)
|
109
|
+
print("------cookie-----")
|
110
|
+
print(cookie)
|
111
|
+
print("------url-----")
|
112
|
+
print(url)
|
105
113
|
response = requests.get(url, cookies=cookie)
|
106
114
|
with open(file_path, 'wb') as file:
|
107
115
|
file.write(response.content)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|