我已经按照https://github.com/oracle/node-oracledb提到的所有步骤来设置环境来开发与oracle连接的应用程序。我尝试安装node-oracledb但是当我发出以下命令时会抛出错误:
from bs4 import BeautifulSoup
import requests
headers = {'User-Agent': 'Mozilla/5.0'}
response = requests.get("http://iflyer.tv/en-jp/listing/events/on/2017-07-22/")
soup = BeautifulSoup(response.text, "html.parser")
events = soup.find_all('div', {"class": "holdevent"})
house_events = []
for event in events:
genre_list = event.find('dl', {"class": "genre_list"})
if genre_list.find(text='House'):
title = event.find('h1', {'class' : 'title'}).a.text
date = event.find('h1', {'class' : 'nicedate'}).text
house_events.append((title, date))
print(house_events)