JIE-1350 / ISpy

0 stars 1 forks source link

Intelligent Scraping with Python (ISpy)

The main goal of this project is to provide an easy user interface to decrease time spent searching the web or building out custom scraping tools, and increase time spent studying and analyzing trends. The collection of information will enable various users (such as social scientists and academics) to view top trends, identify solutions, and perform insight analysis. Looking at the significant impact social media has had on the 21st-century global society, we can see how easily and quickly misinformation can spread through platforms such as Twitter. This misinformation can lead to a significant amount of divisive and harmful opinions. For example, this past year of the global pandemic has shown how misinformation such as conspiracy theories about COVID-19 vaccines can quickly spread and lead to harmful effects like preventing many people from getting vaccinated. Using our Python-powered Scraper, users will be provided with accurate and unbiased data; as a result, allowing for the common benefit of society. Some of the key features within our application will be collecting data from Twitter, applying filters to sort and organize data, providing various insights on collected data, and saving collected information for later use.

Download Installer

Windows Installer download

Linux Installer download

Click here for user installation guide

Search Tab

Insight Tab

Release Notes

Version 1.0.0:

New Features

Bug Fixes

Known Issues

Installation

Installation instructions:

Frontend

Requirements

Setup

cd frontend/

npm install

Run frontend only

npm start

Run frontend and backend

npm run dev

Backend

Requirements

Setup

Create a virtual environment and install the dependencies:

cd backend/

python3 -m venv venv

pip install -r requirements.txt

Run manually for developing:

python server.py

Build Installer

Before you start building the installer, make sure that you can run the application in development setting.

Make sure that your virtual environment is activated, and pyinstaller is installed.

Create an executable for the python server.

To start, change directory to backend/pyinstaller/

cd backend/pyinstaller/

Run the sh script to create the executable for the flask server.

sh create_exe.sh

The executable should be in backend/pyinstaller/dist/ folder with the name server.exe

There should also be a copy of server.exe in frontend/.

Change directory to frontend/

cd ../../frontend

Run the script to build the electron application installer

npm run electron:build

The installer should be in frontend/dist/ folder as ISpy Setup 0.1.0.exe

Troubleshooting

1. The application fails to load data file and table.

Cause: The settings file is corrupted or wrong.

Solution 1:

Solution 2:

2. The application fails to load the search tab.

Cause: There may be corruption or wrong format in a data file.

Solution:

3. Cannot generate an insight for a data file.

Cause: The insight already exists for this data file.

Solution:

4. Program not responding when performing an action

Cause: There is some internal error

Solution: