Boosted by jsonstein@masto.deoan.org ("Jeff Sonstein"):
thejapantimes ("The Japan Times") wrote:
U.S. President Donald Trump's willingness to attack adversaries while rattling allies is threatening to push the world into a new nuclear age. https://www.japantimes.co.jp/news/2026/03/29/world/iran-war-new-nuclear-age/?utm%5Fmedium=Social&utm%5Fsource=mastodon #worldnews #us #iran #middleeast #nuclearweapons #northkorea #china #southkorea #nato #defense #europe #russia #saudiarabia #iaea










![try: rresp = requests.get(url, timeout=10) except requests.exceptions.ReadTimeout: print(f"timed out {url}, trying selenium") hdata = "{}" from selenium import webdriver driver = webdriver.Safari() driver.get(url) element = driver.find_element("xpath", "/html") outerhtml: str = element.get_attribute("outerHTML") # type:ignore[no-untyped-call] bdata = outerhtml.encode("utf-8") else: hdata = json.dumps(dict(rresp.headers)) bdata = rresp.content](https://files.mastodon.social/media_attachments/files/116/310/272/849/052/189/original/bdb6f1126ce571a5.png)