skip to Main Content

Extract a word from a line of HTML

I have the following line from a html file. src="https://www.com/seek-images/seek-icons/horoskop-*pluto.gif*" alt="" />*Pluto*</div>n Using Python , regex, How do I extract Pluto (or any planet name here)..from the above line. I tried regex with [w]+ and match = re.search(regexeg, line) if…

VIEW QUESTION

Json – how to parse this data and extract two values

I am trying to extract two values: iid device_id { 'Cookies': { 'install_id': '7296374090783672107', 'store-country-code': 'us', 'store-country-code-src': 'did', 'store-idc': 'useast5', 'ttreq': '1$ae2625a14f85ea1578eaedbecdca21116587d1bf' }, 'Device_Info': { 'ab_version': '31.9.1', 'ac': 'wifi', 'ac2': 'wifi', 'aid': '1233', ..., 'device_brand': 'oneplus', 'device_id': '7296372688908764714', 'device_platform': 'android',…

VIEW QUESTION
Back To Top
Search