[GH-ISSUE #256] targets.txt is not created #211

Closed
opened 2026-03-02 23:38:49 +03:00 by kerem · 2 comments
Owner

Originally created by @gitnodge on GitHub (Jan 19, 2021).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/256

Just playing around with scraping. Seems to work but the targets.txt file is not created.

Is it inside the database? How do I connect it to another account?

Originally created by @gitnodge on GitHub (Jan 19, 2021). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/256 Just playing around with scraping. Seems to work but the targets.txt file is not created. Is it inside the database? How do I connect it to another account?
kerem closed this issue 2026-03-02 23:38:49 +03:00
Author
Owner

@alexal1 commented on GitHub (Jan 19, 2021):

Thanks for the question @gitnodge! You've reminded me to update the post.

Well yes, it is inside the database. The reason is that people wanted to interact & scrape simultaneously, and SQLite databases give such possibility.

So, to use scraping you have to

  1. Provide scraping instructions --scrape @natgeo amazingtrips
  2. Specify the main account to update it's database --scrape-for-account <your real username>
  3. Run another bot instance in the main account with --interact-targets True

I've updated the post and added a bit more details there. "targets.txt" can still be used, but you have to create it yourself and write there your "custom" targets. Good luck

<!-- gh-comment-id:762820705 --> @alexal1 commented on GitHub (Jan 19, 2021): Thanks for the question @gitnodge! You've reminded me to update [the post](https://www.patreon.com/posts/43902968). Well yes, it is inside the database. The reason is that people wanted to interact & scrape simultaneously, and SQLite databases give such possibility. So, to use scraping you have to 1. Provide scraping instructions `--scrape @natgeo amazingtrips` 2. Specify the main account to update it's database `--scrape-for-account <your real username>` 3. Run another bot instance in the main account with `--interact-targets True` I've updated the post and added a bit more details there. "targets.txt" can still be used, but you have to create it yourself and write there your "custom" targets. Good luck
Author
Owner

@alexal1 commented on GitHub (Jan 20, 2021):

If everything's clear feel free to close the issue @gitnodge :)

<!-- gh-comment-id:763733570 --> @alexal1 commented on GitHub (Jan 20, 2021): If everything's clear feel free to close the issue @gitnodge :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#211
No description provided.