Here’s the output 👇
🧠 How to generate a visual report showing the difference between the raw HTML and the JavaScript Rendered HTML using the requests_html Python library 🐍🔥
🔍 When webpages use #JavaScript, the HTML rendered on the client-side 🧑💻 could be different from the raw HTML coming from the server-side ⌨️
🔍 Creating a diff allows you to quickly see 👀 the JavaScript changes 🖥️ (great for JavaScript #SEO!)
🖱️Click “fork” at the top of the repl if you want to save a personal copy of the project
🖱️Hit enter in order to generate the diff
🗒️Note: Repl.it will start installing chromium
🗃️ Find more information on how the diff is presented in the “README” file on GitHub
🛠 Use your knowledge of the previous #RSTwittorials to read URLs from a #GoogleSheet instead of manually pasting a URL into the console 🛠
@Anirudh_Tata, our Technical Support Intern and creator of the code, will be happy to answer! 👨💻
Find him on LinkedIn 👇 linkedin.com/in/anirudh-tat…