We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17d291d commit 5dec66aCopy full SHA for 5dec66a
ismobile/utils.py
@@ -1,6 +1,9 @@
1
import re
2
3
-is_mobile_re = re.compile(r".*(iphone|mobile|androidtouch)", re.IGNORECASE)
+is_mobile_re = re.compile(
4
+ r".*(ip(hone|od|ad)|mobile|androidtouch|opera m(ob|in)i|(android|chrome).+mobile)",
5
+ re.IGNORECASE,
6
+)
7
8
9
def get_is_mobil(http_user_agent):
0 commit comments