Skip to content

Commit 5f2d80a

Browse files
set is_pc to false for chromecasts (#122)
1 parent 88f4380 commit 5f2d80a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

user_agents/parsers.py

+2
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ def is_pc(self):
261261
return False
262262
if 'Chrome OS' in self.os.family:
263263
return True
264+
if 'Chromecast' in self.os.family:
265+
return False
264266
if 'Linux' in self.ua_string and 'X11' in self.ua_string:
265267
return True
266268
return False

0 commit comments

Comments
 (0)