View Single Post
Old 10-30-2021, 12:37 PM   #5
NSILMike
Guru
NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.NSILMike turned on, tuned in, and dropped out.
 
Posts: 735
Karma: 35936
Join Date: Apr 2011
Location: Shrewsury, MA
Device: Lenovo Android Tablet
Quote:
Originally Posted by kovidgoyal View Post
parse_section not parse_index and there will be no date there already, you will have to search for it in the dtructure parse_section is parsing.
I found this:
def parse_section(raw_html):
data = extract_json(raw_html)['content-feed']

def text(e):
if not e:
return ''
return e.get('basic') or e.get('native', '')

but I have no idea how to modify per your suggestion.
NSILMike is offline   Reply With Quote