ile yanıt veriyor Ayaklarımı BS ile ıslatmaya çalışıyorum. Ben zaten bir sorunla karşılaştığım ilk adımda belgeleme butat üzerinden çalışmayı denedim. ** Ben http aramak için denemek çünküBeautifulSoup,
Warning (from warnings module):
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/bs4/__init__.py", line 189
'"%s" looks like a URL. Beautiful Soup is not an HTTP client. You should probably use an
HTTP client to get the document behind the URL, and feed that document to Beautiful Soup.' % markup)
UserWarning: "https://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=5...b&per_page=250&accuracy=1&has_geo=1&extras=geo,tags,views,description"
looks like a URL. Beautiful Soup is not an HTTP client. You should
probably use an HTTP client to get the document behind the URL, and feed that document
to Beautiful Soup.
https://api.flickr.com/services/rest/?method=flickr.photos.search&api;_key=5...b&per;_page=250&accuracy;=1&has;_geo=1&extras;=geo,tags,views,description
o ** s mi yoksa başka bir sorundur:
from bs4 import BeautifulSoup
soup = BeautifulSoup('https://api.flickr.com/services/rest/?method=flickr.photos.search&api_key=5....1b&per_page=250&accuracy=1&has_geo=1&extras=geo,tags,views,description')
print(soup.prettify())
Bu cevap alıyorum edilir:
Bu benim kodudur? Yardımlarınız için teşekkürler!
kaydet web sayfası urlib2 kullanmanızı dosya üzerinde çorba kullanabilirsiniz içeriği indirmek için. – suspectus