tiktokautouploader 3.5__py2.py3-none-any.whl → 3.7__py2.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.
- tiktokautouploader/Js_assets/package.json +12 -0
- tiktokautouploader/function.py +6 -3
- {tiktokautouploader-3.5.dist-info → tiktokautouploader-3.7.dist-info}/METADATA +1 -1
- tiktokautouploader-3.7.dist-info/RECORD +8 -0
- tiktokautouploader-3.5.dist-info/RECORD +0 -7
- {tiktokautouploader-3.5.dist-info → tiktokautouploader-3.7.dist-info}/WHEEL +0 -0
- {tiktokautouploader-3.5.dist-info → tiktokautouploader-3.7.dist-info}/licenses/LICENSE.md +0 -0
@@ -0,0 +1,12 @@
|
|
1
|
+
{
|
2
|
+
"name": "tiktokautouploader-assets",
|
3
|
+
"version": "1.0.0",
|
4
|
+
"scripts": {
|
5
|
+
"postinstall": "npx playwright install chromium"
|
6
|
+
},
|
7
|
+
"dependencies": {
|
8
|
+
"playwright": "^1.48.2",
|
9
|
+
"playwright-extra": "^4.3.6",
|
10
|
+
"puppeteer-extra-plugin-stealth": "^2.11.2"
|
11
|
+
}
|
12
|
+
}
|
tiktokautouploader/function.py
CHANGED
@@ -54,11 +54,14 @@ def run_javascript():
|
|
54
54
|
def install_js_dependencies():
|
55
55
|
js_dir = pkg_resources.resource_filename(__name__, 'Js_assets')
|
56
56
|
node_modules_path = os.path.join(js_dir, 'node_modules')
|
57
|
-
|
57
|
+
|
58
58
|
if not os.path.exists(node_modules_path):
|
59
59
|
print("JavaScript dependencies not found. Installing...")
|
60
|
-
|
61
|
-
|
60
|
+
try:
|
61
|
+
subprocess.run(['npm', 'install', '--silent'], cwd=js_dir, check=True)
|
62
|
+
except subprocess.CalledProcessError as e:
|
63
|
+
print("An error occurred during npm installation.")
|
64
|
+
print(f"Error details: {e}")
|
62
65
|
else:
|
63
66
|
time.sleep(0.1)
|
64
67
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: tiktokautouploader
|
3
|
-
Version: 3.
|
3
|
+
Version: 3.7
|
4
4
|
Summary: Upload or schedule videos to TikTok with viral TikTok sounds and hashtags.
|
5
5
|
Project-URL: Homepage, https://github.com/haziq-exe/TikTokAutoUploader
|
6
6
|
Author-email: HAZIQ <haziqmk123@gmail.com>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
tiktokautouploader/__init__.py,sha256=u7OWCK_u68ST8dfrkSF4Yw44CJOzV9NXI6ASRuoDfmE,64
|
2
|
+
tiktokautouploader/function.py,sha256=3x_mharQkxbElbWEqCusB0qZAGy-PlLfkkozHYqpc3w,44660
|
3
|
+
tiktokautouploader/Js_assets/login.js,sha256=SLhtPYo8ZfTRUnbR7Xqp084lSuAOqIWUxi75FlFH3vs,966
|
4
|
+
tiktokautouploader/Js_assets/package.json,sha256=aNbwSOpEpDUlplSuXugHVeN11riVwV4ofVkRPwHzbLs,273
|
5
|
+
tiktokautouploader-3.7.dist-info/METADATA,sha256=XZ7nBoYoXXeAGiNXvAFhZTsmqWs4ihgIIDH5blQar94,6125
|
6
|
+
tiktokautouploader-3.7.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
|
7
|
+
tiktokautouploader-3.7.dist-info/licenses/LICENSE.md,sha256=hYds_VJIpnS5gC73WhuWk2IY_e9BWjuEJthQCb9ThyU,1073
|
8
|
+
tiktokautouploader-3.7.dist-info/RECORD,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
tiktokautouploader/__init__.py,sha256=u7OWCK_u68ST8dfrkSF4Yw44CJOzV9NXI6ASRuoDfmE,64
|
2
|
-
tiktokautouploader/function.py,sha256=wH2bcLPMfahox8toEc6L11NtVIE5JHMyj-13VCQPtjw,44652
|
3
|
-
tiktokautouploader/Js_assets/login.js,sha256=SLhtPYo8ZfTRUnbR7Xqp084lSuAOqIWUxi75FlFH3vs,966
|
4
|
-
tiktokautouploader-3.5.dist-info/METADATA,sha256=uHiOyXy8K0766nma3U1wHcUCs_Nc0-De0S_WerXE7RA,6125
|
5
|
-
tiktokautouploader-3.5.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
|
6
|
-
tiktokautouploader-3.5.dist-info/licenses/LICENSE.md,sha256=hYds_VJIpnS5gC73WhuWk2IY_e9BWjuEJthQCb9ThyU,1073
|
7
|
-
tiktokautouploader-3.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|