master
Frans Masereel Centrum 2 years ago
parent 0550793503
commit d970267b5d

@ -1,3 +1,3 @@
cd pics/ &&
cd /Users/fmc_mac3/harvesting_the_net/pics/ &&
source bin/activate &&
flask run

@ -36,4 +36,4 @@ def api_datapoint():
return jsonify(dictionary_to_return)
app.run(host='0.0.0.0', port=8080, debug=True)
app.run(host='0.0.0.0', port=8090, debug=True)

File diff suppressed because one or more lines are too long

@ -117,6 +117,6 @@ time.sleep(.5)
search_box = wd.find_element(By.CLASS_NAME,'gLFyf')
search_box.send_keys(query)
links = harvesting(query,3,wd)
links = harvesting(query,300,wd)
wd.quit()

@ -1,3 +1,3 @@
cd pics/ &&
cd /Users/fmc_mac3/harvesting_the_net/pics/ &&
source bin/activate &&
python3 pics.py

@ -1,3 +1,3 @@
cd text/ &&
cd /Users/fmc_mac3/harvesting_the_net/text/ &&
source bin/activate &&
flask run -p 5001

@ -28,4 +28,4 @@ def api_datapoint():
return jsonify(dictionary_to_return)
# app.run(host='0.0.0.0', port=8080, debug=True)
app.run(host='0.0.0.0', port=8080, debug=True)

@ -1,8 +0,0 @@
#!/Users/poni/harvesting_the_net/text/bin/python3.10
# -*- coding: utf-8 -*-
import re
import sys
from flask.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

File diff suppressed because one or more lines are too long

@ -1,3 +1,3 @@
cd text/ &&
cd /Users/fmc_mac3/harvesting_the_net/text/ &&
source bin/activate &&
python3 text.py

Loading…
Cancel
Save