Given the following code:
import requests
url = "https://signal.bz/"
response = requests.get(url)
print(response.text)
The output is JS code.
But what I want to get is the HTML code I see when I open my browser's Developer Tools at https://signal.bz/.
For other sites, I get HTML code well, but why is this site only getting JS code?
How can I get HTML code for this site?
requestsdoes not execute JS, so it can't possibly have that. Consider using a headless browser like Puppeteer for that.