Hi, i've done everything all right to install dryscrape. Yet, now seems when i import it in my code the app gives 500 error. i'm concerned about when i've run in bash console the code provided in the answer
virtualenv env
i seems created virtualenv variable called env
which is not in the .virtualenv/
folder (http://joxi.ru/DmB7jgNi5XMw2P).
In that folder .virtualenv/
there is before created virtualenv variable mytest_virtenv
along with some other files (http://joxi.ru/1A5RkLzhvoe0rE).
But when i add import dryscrape
app doesn't work. Help please!
Example code:
@app.route('/dryscrape_off')
def dryscrape_off():
import dryscrape
my_url='http://tarex.ru/testdir/test1.html'
my_url='https://docs.python.org/2/'
from bs4 import BeautifulSoup
response = requests.get(my_url)
soup = BeautifulSoup(response.text)
return '<h3>dryscrape off</h3> <p> result: '