السلام عليكم
انا قمت بتنصيب httplib2 من اجل python2.7
لاكن كلما كتبت الكود تظهرلي module httplib2 not found ما الحل ؟
هذا هو الكود
import httplib2
from bs4 import Beautifulsoup, soupstrainer
http = httplib2.Http()
status, response = http.request('
')
for link in BeautifulSoup(response, parseOnlyThese=SoupStrainer('a')):
if link.has_attr('href'):
print link['href']
التعليقات