HOW TO USE Reposting Module on NecroMancer

 

The reposting module in NecroMancer IG uses a few other prerequisites which we need to install 1st.

 

=> For scraping purposes NecroMancer internally uses Instagram-scraper from a GitHub repository (link: https://github.com/arc298/instagram-scraper )

So, we need to install it first,

For that 1st we need to install Python 3 from here: https://www.python.org/downloads/windows/

Just look for the latest Python 3 “Windows installer (64-bit)”. And install it.

After that, in CMD, run the command “pip install instagram-scraper”

As mentioned here: https://github.com/arc298/instagram-scraper

Then to confirm the installation, just try running the command “instagram-scraper -h” in the CMD. And it should give information about the instagram-scraper if its installed properly.

 

=> Next, for working with videos, NecroMancer uses FFmpeg.

To set this up, download its compressed file from here: https://www.dropbox.com/s/eqd49iw49hci1l7/ffmpeg.7z?dl=0

And then extract it in the “NecroMancer IG” folder.

(you could use 7zip from https://www.7-zip.org/ for extracting)

 

Now open this above “ffmpeg” folder, and open the “bin” folder in there.

 

And then copy its path (as marked in the above image), (For example, in the above image that path is: “E:\0sharedFolder\program\imp\NecroMancer IG\ffmpeg\bin” (it’ll be different for your PC))

Now paste this path in the “path” entry of the Environment variables of your PC, and save it.

(To edit the environment variables of your PC, you can search and open “Edit environment variables for your account” in your PC programs search ( searching by clicking on the Windows icon in the bottom-left corner of your PC screen.))

Now to confirm if FFmpeg is setup properly, just run the command

“FFmpeg -version” in the CMD. And it should give information about the FFmpeg version if it’s setup properly.

NOW, we’re all good, to use the Reposting Module of NecroMancer!

 

=> Finally we need to make sure we’re using the latest version of Java. (otherwise reposting module may get stuck, as older java versions will not support all languages/some new charaters, used in captions, etc.).

To set this up, 1st delete the “jre” folder in the below image (FOLDER “UNDER” the “ffmpeg” folder. (ignore the red arrow in the below image, we’re just reusing the image from earlier.))

 

 

 

And then download this latest compressed “jre” folder from here: https://www.dropbox.com/s/kx53xnkvwb8df16/jre.zip?dl=0

And then extract it in the “NecroMancer IG” folder at that previous one’s place.

(Note: If you’re a techie or someone using your own java installation from somewhere else, then just know that we’re currently using jdk17 of 2022. So make sure you’re updated. You can check your active version by running the command “java -version” in CMD)

 

 

REPOSTING MODULE DETAILS

How Reposting Module Works:

The Scraper Module of NecroMancer does the scraping work as per the set settings.

After that is done, it schedules a certain amount of scraped posts at one place, ready to be posted. Which will later be used by the Posting Module for Posting when the right time comes.

NecroMancer Scraper Module uses this location for scheduling those posts:

“C:\Users\<YourPcUsername>\NecroMancer IG\reposting\<YourIgAccountUsername>\”

For Example: “C:\Users\yadav\NecroMancer IG\reposting\realeternalbulker\” (see image)

The Posting Module also uses this location for taking posts for posting on the IG account. The posts are picked from here in alphabetical order. (Those each folder is treated as individual posts)

For example, in the above image, post “1” comes 1st in alphabetical order, which means, it’ll be posted 1st. And then next time post named “2” will be posted, and after that post named “3”, and so on.

A few people inquired about only using the posting functionality of it (by manually setting the posts for posting) without the scraping part.

Here’s how to do it:

1st to disable scraping part, disable “601. Enable Post Scraping” Setting, it’ll disable all the scrapings and other scraping-related settings. And enable the “602. Enable Post Posting” setting in the dashboard, and set the posts that are to be posted, at the above location.

[ In there, you can ignore the “scheduledPostsHistory.txt” file. As that is only used by the Scraper Module to keep a history of all the past scraped and scheduled Posts (To avoid scraping/scheduling of the same posts again). ]

To manually set those posts, this is the format:

1st we put the image or video etc for the post in those folders (folders in the above image)

And specify the post Type and Post Caption there inside the file named “data.txt”, in the format: {“postType”:”REELS”,”caption”:”Hi, how are you.”}

Supported values for “postType”: IMAGE, VIDEO, CAROUSEL, REELS, IGTV.

“caption” can have any value, needed in the caption for your post. [It also supports Spintax]

Different postTypes Example Screenshots:

NOTE: for CAROUSEL Posts, the order of the images in the carousel is again determined alphabetically.

For example, the above post (in the above image) will post a carousel post with 1.jpg as the 1st image, 2.jpg as the 2nd image, and so on, in that carousel post.

———

Currently, how many posts get posted each day are determined by this setting:

“610. Post This Many Posts Per Day (Min)” and “611. (Max)”

And this setting determines the wait time between each of those posted posts in that day.

“609. Minimum Delay Between each Post (in Minutes)”

HOW THE WORKFLOW WORKs, is that when that account’s (/slot’s) start time is reached, and the 1st session of that day starts, it posts the 1st post in that session. Then waits for the set time (“609. Minimum Delay Between each Post”), then when the next session starts after that much time, the next post gets posted in that session (if more than 1 posts are to be posted in that day (setting 609 and 610)).