Created
September 20, 2012 15:25
Revisions
-
Kyle Maxwell revised this gist
Sep 20, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,6 @@ soup = BeautifulSoup(response) metatags = soup.find_all('meta',attrs={'name':'generator'}) for tag in metatags: print tag -
Kyle Maxwell created this gist
Sep 20, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ from bs4 import BeautifulSoup soup = BeautifulSoup(response) metatags = soup.find_all('meta', name='generator') for tag in metatags: print tag This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> <meta content="WordPress 3.4.2" name="generator"/>