webbrowser.open_new_tab()
returns boolean value. It does not return html source of the page you open.You can use
requests
package or if the webpage uses JavaScript you should use tools like Selenium. webbrowser
module from standard library is useless for a task such this.Alternatively, or I would say as a better approach, you can explore the available third-party package to deal with this specific site/API
https://pypi.org/search/?q=opensea
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs