我正在尝试获取位于文章标签内的所有内容,例如http://magazine.magix.com/de/5-tipps-fuer-die-fotobearbeitung/。
然而,在使用
时遇到了一些问题。print soup.article
它只会执行到“...Foto auf verschiedene Art und Weise und für verschiedene Zwecke bearbeiten. ”
完整代码:
from bs4 import BeautifulSoup
import requests
request_page = requests.get('http://magazine.magix.com/de/5-tipps-fuer-die-fotobearbeitung/', 'html.parser')
source = request_page.text
soup = BeautifulSoup(source, "html.parser")
print soup.article.text
我怎么能得到所有的东西?