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

Update directlink.py with additional file exts. #30

Merged
merged 1 commit into from Jul 27, 2017
Merged

Update directlink.py with additional file exts. #30

merged 1 commit into from Jul 27, 2017

Conversation

Hrxn
Copy link
Contributor

@Hrxn Hrxn commented Jul 27, 2017

Add WebP, still not that common, but it's increasing.
Add 3rd JPEG variant (https://en.wikipedia.org/wiki/JPEG#JPEG_filename_extensions)
Never seen JFIF in the wild, would probably be overkill.
Extend Ogg formats (https://en.wikipedia.org/wiki/Ogg; https://wiki.xiph.org/MIME_Types_and_File_Extensions)

Add WebP, still not that common, but it's increasing.
Add 3rd JPEG variant (https://en.wikipedia.org/wiki/JPEG#JPEG_filename_extensions)
Never seen JFIF in the wild, would probably be overkill.
Extend Ogg formats (https://en.wikipedia.org/wiki/Ogg; https://wiki.xiph.org/MIME_Types_and_File_Extensions)
@Hrxn
Copy link
Contributor Author

Hrxn commented Jul 27, 2017

I don't think this slows down regex matching in any noticeable way, although I don't really know any Python, and you know, theory vs practice.

Feel free to change/reject/whatever..

@mikf mikf merged commit 45f9d64 into mikf:master Jul 27, 2017
@Hrxn Hrxn deleted the patch-1 branch July 28, 2017 06:11
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

Successfully merging this pull request may close these issues.

None yet

2 participants