tiktokautouploader 3.2__py2.py3-none-any.whl → 3.5__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/function.py +15 -23
- {tiktokautouploader-3.2.dist-info → tiktokautouploader-3.5.dist-info}/METADATA +1 -2
- tiktokautouploader-3.5.dist-info/RECORD +7 -0
- tiktokautouploader-3.2.dist-info/RECORD +0 -7
- {tiktokautouploader-3.2.dist-info → tiktokautouploader-3.5.dist-info}/WHEEL +0 -0
- {tiktokautouploader-3.2.dist-info → tiktokautouploader-3.5.dist-info}/licenses/LICENSE.md +0 -0
tiktokautouploader/function.py
CHANGED
@@ -509,23 +509,23 @@ def upload_tiktok(video, description, accountname, hashtags=None, sound_name=Non
|
|
509
509
|
page.locator('div.TUXTextInputCore-leadingIconWrapper:has(svg > path[d="M15 3a1 1 0 0 0-1 1v3h-1.4c-3.36 0-5.04 0-6.32.65a6 6 0 0 0-2.63 2.63C3 11.56 3 13.24 3 16.6v16.8c0 3.36 0 5.04.65 6.32a6 6 0 0 0 2.63 2.63c1.28.65 2.96.65 6.32.65h22.8c3.36 0 5.04 0 6.32-.65a6 6 0 0 0 2.63-2.63c.65-1.28.65-2.96.65-6.32V16.6c0-3.36 0-5.04-.65-6.32a6 6 0 0 0-2.63-2.63C40.44 7 38.76 7 35.4 7H34V4a1 1 0 0 0-1-1h-2a1 1 0 0 0-1 1v3H18V4a1 1 0 0 0-1-1h-2Zm-2.4 8H14v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3h12v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3h1.4c1.75 0 2.82 0 3.62.07a5.11 5.11 0 0 1 .86.14h.03a2 2 0 0 1 .88.91 5.11 5.11 0 0 1 .14.86c.07.8.07 1.87.07 3.62v1.9H7v-1.9c0-1.75 0-2.82.07-3.62a5.12 5.12 0 0 1 .14-.86v-.03a2 2 0 0 1 .88-.87l.03-.01a5.11 5.11 0 0 1 .86-.14c.8-.07 1.87-.07 3.62-.07ZM7 22.5h34v10.9c0 1.75 0 2.82-.07 3.62a5.11 5.11 0 0 1-.14.86v.03a2 2 0 0 1-.88.87l-.03.01a5.11 5.11 0 0 1-.86.14c-.8.07-1.87.07-3.62.07H12.6c-1.75 0-2.82 0-3.62-.07a5.11 5.11 0 0 1-.89-.15 2 2 0 0 1-.87-.87l-.01-.03a5.12 5.12 0 0 1-.14-.86C7 36.22 7 35.15 7 33.4V22.5Z"])').click()
|
510
510
|
time.sleep(0.2)
|
511
511
|
try:
|
512
|
-
page.locator(f'span.day.valid:
|
512
|
+
page.locator(f'span.day.valid:text-is("{day}")').click()
|
513
513
|
except:
|
514
514
|
sys.exit("SCHEDULE DAY ERROR: ERROR WITH SCHEDULED DAY, read documentation for more information on format of day")
|
515
515
|
try:
|
516
516
|
time.sleep(0.2)
|
517
517
|
page.locator('div.TUXTextInputCore-leadingIconWrapper:has(svg > path[d="M24 2a22 22 0 1 0 0 44 22 22 0 0 0 0-44ZM6 24a18 18 0 1 1 36 0 18 18 0 0 1-36 0Z"])').click()
|
518
518
|
time.sleep(0.2)
|
519
|
-
page.locator(f'.tiktok-timepicker-option-text.tiktok-timepicker-right:
|
519
|
+
page.locator(f'.tiktok-timepicker-option-text.tiktok-timepicker-right:text-is("{minute}")').scroll_into_view_if_needed()
|
520
520
|
time.sleep(0.2)
|
521
|
-
page.locator(f'.tiktok-timepicker-option-text.tiktok-timepicker-right:
|
521
|
+
page.locator(f'.tiktok-timepicker-option-text.tiktok-timepicker-right:text-is("{minute}")').click()
|
522
522
|
time.sleep(0.2)
|
523
523
|
if page.locator("div.tiktok-timepicker-time-picker-container").is_visible():
|
524
524
|
time.sleep(0.1)
|
525
525
|
else:
|
526
526
|
page.locator('div.TUXTextInputCore-leadingIconWrapper:has(svg > path[d="M24 2a22 22 0 1 0 0 44 22 22 0 0 0 0-44ZM6 24a18 18 0 1 1 36 0 18 18 0 0 1-36 0Z"])').click()
|
527
|
-
page.locator(f'.tiktok-timepicker-option-text.tiktok-timepicker-left:
|
528
|
-
page.locator(f'.tiktok-timepicker-option-text.tiktok-timepicker-left:
|
527
|
+
page.locator(f'.tiktok-timepicker-option-text.tiktok-timepicker-left:text-is("{hour}")').scroll_into_view_if_needed()
|
528
|
+
page.locator(f'.tiktok-timepicker-option-text.tiktok-timepicker-left:text-is("{hour}")').click()
|
529
529
|
time.sleep(1)
|
530
530
|
|
531
531
|
if suppressprint == False:
|
@@ -616,13 +616,11 @@ def upload_tiktok(video, description, accountname, hashtags=None, sound_name=Non
|
|
616
616
|
checks = 0
|
617
617
|
while uploaded == False:
|
618
618
|
if page.locator(':has-text("Leaving the page does not interrupt")').nth(0).is_visible():
|
619
|
-
time.sleep(0.
|
619
|
+
time.sleep(0.1)
|
620
620
|
break
|
621
621
|
time.sleep(0.2)
|
622
622
|
checks += 1
|
623
|
-
if checks
|
624
|
-
time.sleep(10)
|
625
|
-
if checks == 150:
|
623
|
+
if checks == 25:
|
626
624
|
break
|
627
625
|
else:
|
628
626
|
page.click('button.TUXButton.TUXButton--default.TUXButton--large.TUXButton--primary:has-text("Schedule")', timeout=10000)
|
@@ -634,15 +632,13 @@ def upload_tiktok(video, description, accountname, hashtags=None, sound_name=Non
|
|
634
632
|
break
|
635
633
|
time.sleep(0.2)
|
636
634
|
checks += 1
|
637
|
-
if checks
|
638
|
-
time.sleep(10)
|
639
|
-
if checks == 150:
|
635
|
+
if checks == 25:
|
640
636
|
break
|
641
637
|
if suppressprint == False:
|
642
638
|
print("Done uploading video, NOTE: it may take a minute or two to show on TikTok")
|
643
639
|
except:
|
644
|
-
time.sleep(
|
645
|
-
sys.exit("ERROR UPLOADING:
|
640
|
+
time.sleep(2)
|
641
|
+
sys.exit("POSSIBLE ERROR UPLOADING: Cannot confirm if uploaded successfully, Please check account in a minute or two to confirm.")
|
646
642
|
time.sleep(1)
|
647
643
|
|
648
644
|
page.close()
|
@@ -762,9 +758,7 @@ def upload_tiktok(video, description, accountname, hashtags=None, sound_name=Non
|
|
762
758
|
break
|
763
759
|
time.sleep(0.2)
|
764
760
|
checks += 1
|
765
|
-
if checks
|
766
|
-
time.sleep(10)
|
767
|
-
if checks == 150:
|
761
|
+
if checks == 25:
|
768
762
|
break
|
769
763
|
else:
|
770
764
|
page.click('button.TUXButton.TUXButton--default.TUXButton--large.TUXButton--primary:has-text("Schedule")', timeout=10000)
|
@@ -772,19 +766,17 @@ def upload_tiktok(video, description, accountname, hashtags=None, sound_name=Non
|
|
772
766
|
checks = 0
|
773
767
|
while uploaded == False:
|
774
768
|
if page.locator(':has-text("Leaving the page does not interrupt")').nth(0).is_visible():
|
775
|
-
time.sleep(0.
|
769
|
+
time.sleep(0.1)
|
776
770
|
break
|
777
771
|
time.sleep(0.2)
|
778
772
|
checks += 1
|
779
|
-
if checks
|
780
|
-
time.sleep(10)
|
781
|
-
if checks == 150:
|
773
|
+
if checks == 25:
|
782
774
|
break
|
783
775
|
if suppressprint == False:
|
784
776
|
print("Done uploading video, NOTE: it may take a minute or two to show on TikTok")
|
785
777
|
except:
|
786
|
-
time.sleep(
|
787
|
-
sys.exit("ERROR UPLOADING:
|
778
|
+
time.sleep(2)
|
779
|
+
sys.exit("POSSIBLE ERROR UPLOADING: Cannot confirm if uploaded successfully, Please check account in a minute or two to confirm.")
|
788
780
|
time.sleep(1)
|
789
781
|
|
790
782
|
page.close()
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: tiktokautouploader
|
3
|
-
Version: 3.
|
3
|
+
Version: 3.5
|
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>
|
@@ -17,7 +17,6 @@ Requires-Dist: inference>=0.18.1
|
|
17
17
|
Requires-Dist: pillow>=8.0.0
|
18
18
|
Requires-Dist: playwright>=1.0.0
|
19
19
|
Requires-Dist: requests>=2.0.0
|
20
|
-
Requires-Dist: scikit-learn>=0.24.0
|
21
20
|
Description-Content-Type: text/markdown
|
22
21
|
|
23
22
|
<div align="center">
|
@@ -0,0 +1,7 @@
|
|
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,,
|
@@ -1,7 +0,0 @@
|
|
1
|
-
tiktokautouploader/__init__.py,sha256=u7OWCK_u68ST8dfrkSF4Yw44CJOzV9NXI6ASRuoDfmE,64
|
2
|
-
tiktokautouploader/function.py,sha256=m7ynv_zKtac1-wRSK2hndxevh1mUJCb0KZx8oFObz1c,44875
|
3
|
-
tiktokautouploader/Js_assets/login.js,sha256=SLhtPYo8ZfTRUnbR7Xqp084lSuAOqIWUxi75FlFH3vs,966
|
4
|
-
tiktokautouploader-3.2.dist-info/METADATA,sha256=kVxGqGPeVhibiiHayhz1KRRjMfbIyQ2yBvMAmL73zUg,6161
|
5
|
-
tiktokautouploader-3.2.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
|
6
|
-
tiktokautouploader-3.2.dist-info/licenses/LICENSE.md,sha256=hYds_VJIpnS5gC73WhuWk2IY_e9BWjuEJthQCb9ThyU,1073
|
7
|
-
tiktokautouploader-3.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|