使用npm安装oracledb软件包时遇到错误

时间:2017-07-17 11:19:07

标签: node.js npm oracledb-npm

我已经按照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)

0 个答案:

没有答案