title: //title # This site config will parse the XML pointed to by the 'single_page_link' by extracting # the embed iframe using find_string/replace_string body: //iframe # Do minimal sanitization to make the iframe accessible via xpath find_string: <iframe replace_string: # Make all the properties of the iframe use regular encoding for quotes to avoid corruption find_string: " replace_string: ' single_page_link: //link[@type='text/xml+oembed'] # Correct User-Agent string needed to get the oembed URL http_header(user-agent): PHP/7.4 # Skip cookie consent [does not work anymore, and blocks fetching now] #http_header(cookie): CONSENT=YES+srp.gws-20220606; prune: no tidy: no test_url: https://www.youtube.com/watch?v=GjENnyQupow