-
Notifications
You must be signed in to change notification settings - Fork 56
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
AttributeError: 'NoneType' object has no attribute 'groups' #16
Comments
And why does this lib even exists if I can do:
|
It looks like the issue is a regex problem. My exception was raised on this line
In particular, on the string
The regex being used to piece this apart m = re.search(r'(\w+)\s*:\s*(.*)$', s) Wont return anything as the string above doesn't match the regex listed. I am not quite sure the best way to go about parsing that out, though to @venomone 's point, this entire script could be redone to simply wrap and ingest the output of Also probably worth using that Both these options appear to be quite old in ffprobe, so they should be safe to use here. |
If anyone's looking for a longer-term solution, I've implemented the above (Python3 only, sorry.) |
Hey folks,
this lib seems exactly what im looking for but Im unable to properly parse all information using the following snipped:
I always get back the following error:
can smb help ?
The text was updated successfully, but these errors were encountered: