How can i load a specific content from a website through python?For example,i want to load some posts of a blog and appear them to my own site.How can i do this?
urllib and urllib2 will let you load the raw HTML. HTML parsers such as BeautifulSoup and lxml will let you parse the raw HTML so you can get at the sections you care about. Template engines such as Mako, Cheetah, etc. will let you generate HTML so that you can have web pages to display.
Load website's content through python