06-First Py_Open a post on my site (Updating)

import webbrowser

print("let us open a post from ericsson's site.")
era = input("please input the date of the post psoted in a form like 2020/06/27:")
post_title = input("please input the title of the post publlished in a form like D2-X1-X1:")
url = "https://www.hornyowl.site/" + era + "/" + post_title + "/"

try:

    print("we have found this post for you:", url)
    print("it should appear in your browser right now! ")
    webbrowser.open(url)
except:
    print("sorry,the post you are looking for doesn't exist on hornyowl.")