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

Could not find match for ^/w+/W #1

Closed
Shawn9347 opened this issue Jun 4, 2022 · 10 comments
Closed

Could not find match for ^/w+/W #1

Shawn9347 opened this issue Jun 4, 2022 · 10 comments
Labels
bug Something isn't working

Comments

@Shawn9347
Copy link

Evening,

I just tried to run your docker container. It seemed really awesome. However I am getting this error. See below.

During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/grabber.py", line 104, in <module> scanLibrary() File "/app/grabber.py", line 29, in scanLibrary grabMusic(name) File "/app/grabber.py", line 61, in grabMusic hiStream = yt.streams.get_audio_only("mp4") File "/usr/local/lib/python3.9/site-packages/pytube/__main__.py", line 296, in streams return StreamQuery(self.fmt_streams) File "/usr/local/lib/python3.9/site-packages/pytube/__main__.py", line 188, in fmt_streams extract.apply_signature(stream_manifest, self.vid_info, self.js) File "/usr/local/lib/python3.9/site-packages/pytube/extract.py", line 409, in apply_signature cipher = Cipher(js=js) File "/usr/local/lib/python3.9/site-packages/pytube/cipher.py", line 33, in __init__ raise RegexMatchError( pytube.exceptions.RegexMatchError: __init__: could not find match for ^\w+\W

@BananaPukeh
Copy link
Owner

Hey thanks for the feedback!

Can you see in the logs on which tv-show it crashes?

@Shawn9347
Copy link
Author

Yes. Star wars rebels. I put a .themeignore file in that directory and than It went to another show, same error. That show is The end of the f*cking world.

@BananaPukeh
Copy link
Owner

Allright, sounds like the YouTube download security is updated again.

I suppose updating the dependencies (pytube) will just fix the issue. I will look into it

@Shawn9347
Copy link
Author

Nice. I look forward to using your container.

@BananaPukeh
Copy link
Owner

Seems like another pytube bug: pytube/pytube#1199

Will look into it tomorrow.

@Shawn9347
Copy link
Author

Thanks

@BananaPukeh
Copy link
Owner

Moved away from the pytube library.

Fixed in version 1.1.0

@BananaPukeh BananaPukeh added the bug Something isn't working label Jun 5, 2022
@Shawn9347
Copy link
Author

Great! The error is gone. I am getting a permission denied error right now. Any ideas?

@BananaPukeh
Copy link
Owner

What kind of error?

@Shawn9347
Copy link
Author

I fixed it. I changed folder permissions. It's downloading theme songs right now. Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants