import re, sys
t = open(sys.argv[1], encoding='utf-8', errors='ignore').read()
for m in re.finditer(r'resource-id="([^"]+)"[^>]*(?:text="([^"]*)")?[^>]*bounds="(\[[0-9,]+\]\[[0-9,]+\])"', t):
    rid, txt, b = m.group(1), m.group(2) or '', m.group(3)
    if any(k in rid.lower() for k in ('play', 'split', 'aciv', 'expand', 'cl_content')) or 'cctv' in txt.lower():
        print(rid, txt[:40], b)
