Skip to content

Commit

Permalink
update docs and .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Nov 19, 2023
1 parent 7795764 commit 94c54c6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
1 change: 0 additions & 1 deletion .env_example
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
FACEBOOK_EMAIL=
FACEBOOK_PASSWORD=
HUGGINGFACEHUB_API_TOKEN=<YOUR_API_KEY_HERE>
INSTAGRAM_SESSIONID_VALUE=
2 changes: 2 additions & 0 deletions docs/changelogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
### 1.3
- Change the name of a project to "Meta Spy"
- Scraping images from instagram profiles
- Save scraped images to the database and display on local server
- Delete AI features

```bash
python main.py instagram-profile-images <instagram_id>
Expand Down
34 changes: 0 additions & 34 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,40 +183,6 @@ python main.py graph
![Basic Scraper Console](https://github.com/DEENUU1/facebook-spy/blob/main/assets/graph.png?raw=true)


#### Report
Save scraped data for specified Person object to PDF file
```bash
python main.py report <facebook_id>
```

#### AI Summary
Use free open source LLM model to create a short summary for specified Person object based on scraped data
```bash
python main.py summary <facebook_id>
```

#### Post classification using transformer

```bash
python main.py posts <option>

Options:
--display-all // Display all posts from the database
--id // Display a specified post from the database
--person-id // Display posts for a specified person from the database

```

```bash
python post-classifier <option>

Options:
--all-posts // Run post classification for all posts from the database
--id // Run post classification for specified post from the database
--person-id // Run post classification for a specified person from the database
```


## Friend Crawler
This command works similarly to the command that scrapes data about a given user's friends list. The difference, however, is that after scraping and creating Friend objects, it also creates objects for the CrawlerQueue model and after successfully scraping friends for one user, it proceeds to scraping the list of friends for the next user in the queue.

Expand Down

0 comments on commit 94c54c6

Please sign in to comment.