tiktokautouploader 3.2__py2.py3-none-any.whl → 3.3__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.
@@ -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.2)
619
+ time.sleep(0.1)
620
620
  break
621
621
  time.sleep(0.2)
622
622
  checks += 1
623
- if checks > 100:
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 > 100:
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(5)
645
- sys.exit("ERROR UPLOADING: VIDEO HAS SAVED AS DRAFT BUT CANT UPLOAD")
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 > 100:
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.2)
769
+ time.sleep(0.1)
776
770
  break
777
771
  time.sleep(0.2)
778
772
  checks += 1
779
- if checks > 100:
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(5)
787
- sys.exit("ERROR UPLOADING: VIDEO HAS SAVED AS DRAFT BUT CANT UPLOAD")
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.2
3
+ Version: 3.3
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=Z3Ic2fRzmMMVlvhovzGO0RcZGgkllk_9XbjvjUpjvHw,44657
3
+ tiktokautouploader/Js_assets/login.js,sha256=SLhtPYo8ZfTRUnbR7Xqp084lSuAOqIWUxi75FlFH3vs,966
4
+ tiktokautouploader-3.3.dist-info/METADATA,sha256=U7Tbvg0Gm64NiCMlKRMXRn3nJTuBRso-VLCQykpDIes,6125
5
+ tiktokautouploader-3.3.dist-info/WHEEL,sha256=fl6v0VwpzfGBVsGtkAkhILUlJxROXbA3HvRL6Fe3140,105
6
+ tiktokautouploader-3.3.dist-info/licenses/LICENSE.md,sha256=hYds_VJIpnS5gC73WhuWk2IY_e9BWjuEJthQCb9ThyU,1073
7
+ tiktokautouploader-3.3.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,,