simple-rule34 0.1.5.3__tar.gz → 0.1.5.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.
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/PKG-INFO +1 -1
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/pyproject.toml +1 -1
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/aio/types.py +4 -2
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/simple_rule34.egg-info/PKG-INFO +1 -1
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/LICENSE +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/README.md +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/setup.cfg +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/Rule34.py +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/__init__.py +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/aio/ARule34.py +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/aio/utils.py +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/exceptions.py +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/setup.py +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/types.py +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/SimpleRule34/utils.py +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/simple_rule34.egg-info/SOURCES.txt +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/simple_rule34.egg-info/dependency_links.txt +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/simple_rule34.egg-info/requires.txt +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/simple_rule34.egg-info/top_level.txt +0 -0
- {simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/tests/test.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: simple_rule34
|
|
3
|
-
Version: 0.1.5.
|
|
3
|
+
Version: 0.1.5.4
|
|
4
4
|
Summary: Simple api wrapper of rule34.xxx for python with asynchronous support
|
|
5
5
|
Author-email: StarMan12 <author@example.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/SyperAlexKomp/simple-rule34-api
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
|
|
3
|
+
import aiofiles
|
|
2
4
|
import aiohttp
|
|
3
5
|
import os
|
|
4
6
|
import datetime
|
|
@@ -34,8 +36,8 @@ class Rule34Post:
|
|
|
34
36
|
|
|
35
37
|
file_name = os.path.basename(self.url)
|
|
36
38
|
save_path = os.path.join(path, file_name)
|
|
37
|
-
with open(save_path, 'wb') as file:
|
|
38
|
-
file.write(await response.read())
|
|
39
|
+
with aiofiles.open(save_path, 'wb') as file:
|
|
40
|
+
await file.write(await response.read())
|
|
39
41
|
|
|
40
42
|
return save_path
|
|
41
43
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: simple_rule34
|
|
3
|
-
Version: 0.1.5.
|
|
3
|
+
Version: 0.1.5.4
|
|
4
4
|
Summary: Simple api wrapper of rule34.xxx for python with asynchronous support
|
|
5
5
|
Author-email: StarMan12 <author@example.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/SyperAlexKomp/simple-rule34-api
|
|
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
|
|
File without changes
|
{simple_rule34-0.1.5.3 → simple_rule34-0.1.5.4}/src/simple_rule34.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|