
    h                         S SK Jr  S SKrS rg)    )BeautifulSoupNc                 *   [         R                  " U 5      n[        UR                  SS9R	                  S5      n/ nU HQ  nUS   R                  5       S:X  d  M  UR                  S5      nU(       d  M6  UR                  UR                  5        MS     U$ )Nxml)featuresContentProtectionschemeIdUriz-urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95z	cenc:pssh)	requestsgetr   contentfindAlllowerfindappendtext)urlresponsecontent_protectionspsshcpps         0C:\Users\Matt\Desktop\nownew\helpers\get_pssh.pyget_psshr      s    ||C H'(8(85IQQRefD!m""$(WW$AqAFF#	 " K    )bs4r   r	   r    r   r   <module>r      s     r   