Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem during runtime #6

Open
zLeki opened this issue Jun 3, 2022 · 0 comments
Open

Problem during runtime #6

zLeki opened this issue Jun 3, 2022 · 0 comments

Comments

@zLeki
Copy link

zLeki commented Jun 3, 2022

(0) Get last videos of some channel (by it's id)
(1) Get channel id by it's name
(2) Get last videos by some search query
What do you want to do
0
Print channel id UC8pOnl4XYXcKfZ_aWBO0o_A
Print folder_name videos
0%| | 0/50 [00:01<?, ?it/s]
Traceback (most recent call last):
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/main.py", line 181, in fmt_streams
extract.apply_signature(stream_manifest, self.vid_info, self.js)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/extract.py", line 409, in apply_signature
cipher = Cipher(js=js)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/cipher.py", line 33, in init
raise RegexMatchError(
pytube.exceptions.RegexMatchError: init: could not find match for ^\w+\W

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/leki/Downloads/TikTok-content-farm-master/main.py", line 83, in
download_channel_videos(channel_id, folder)
File "/Users/leki/Downloads/TikTok-content-farm-master/main.py", line 52, in download_channel_videos
yt.streams
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/main.py", line 296, in streams
return StreamQuery(self.fmt_streams)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/main.py", line 188, in fmt_streams
extract.apply_signature(stream_manifest, self.vid_info, self.js)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/extract.py", line 409, in apply_signature
cipher = Cipher(js=js)
File "/Users/leki/Downloads/TikTok-content-farm-master/pytube/cipher.py", line 33, in init
raise RegexMatchError(
pytube.exceptions.RegexMatchError: init: could not find match for ^\w+\W

System info

  • MacOSX
  • 16gb ram
  • silicone
  • python 3.9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant