Sinisterly
Tutorial (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: General (https://sinister.li/Forum-General)
+--- Forum: The Lounge (https://sinister.li/Forum-The-Lounge)
+--- Thread: Tutorial (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles (/Thread-Tutorial-Photo-Grabber-How-to-do-a-batch-download-from-multiple-TW-IG-profiles)

Pages: 1 2


(Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - conspir4cy - 12-06-2019

REQUIREMENTS:

Quote:For Twitter Accounts: check my old tutorial for twitter gathering
For Instagram Accounts: Check it here Smile

HOW TO:

First at all, you must do one or both of tutorial i put in requirements section of this post.

Then open Kate or your favorite text editor and put this code inside it:

Code:
#  MASSIVE ACCOUNT DOWNLOAD SCRIPT 1.0.2 #  MADE BY conspir4cy (sinister.ly - https://sinister.ly/User-conspir4cy) #  SINISTER.LY #PUT HERE YOUR INSTAGRAM ACCOUNTS :) USERNAME='' PASSWORD='' USERNAME1='' PASSWORD1='' USERNAME2='' PASSWORD2='' #PLACES WHERE DATA IS GOING TO BE SAVED dir1='/dir/dir' dir2='/dir/dir2' #INSTAGRAM ACCOUNTS (TARGETS) #REPLACE WITH IG TARGETS target1='instagram' target2='diokonigsreuter' target3='ubuntu' #TWITTER ACCOUNTS (TARGETS) #REPLACE WITH IG TARGETS twt_tg='ubuntu' twt_tg2='DiovanaKoni' #LOGIN FOR INSTAGRAM login1='--login $USERNAME -p $PASSWORD' login2='--login $USERNAME1 -p $PASSWORD1' login3='--login $USERNAME2 -p $PASSWORD2' #INIT COMMAND insta='instaloader/instaloader.py' twt='twitter-image-downloader/twt_img.py' #ACCESS KEYS dev='twitter-image-downloader/confidentials.json' ## END OF FIRST PART #TWITTER DOWNLOAD echo Starting download of... # python3 $twt -c $dev -s large $twt_tg $dir1 && python3 $twt -c $dev -s orig $twt_tg $dir1 echo Starting download of... python3 $insta $login2 -G -C -s --tagged $target1 echo FINISHED echo Starting download of... #TWITTER DOWNLOAD FOR TARGET2 OF TWITTER (twt_tg2) python3 $twt -c $dev -s large $twt_tg2 $dir2 && python3 $twt -c $dev -s orig $twt_tg2 $dir2 #DOWNLOAD IG PICTURES OF TARGET1 WITH TAGGED PHOTOS #USING LOGIN1 INFO python3 $insta $login1 -G -C -s --tagged $target1 #DOWNLOAD IG PICTURES OF TARGET1 WITHOUT TAGGED PHOTOS #USING LOGIN1 INFO python3 $insta $login1 -G -C -s $target1 #DOWNLOAD IG PICTURES OF TARGET2 WITHOUT TAGGED PHOTOS #USING LOGIN2 INFO python3 $insta $login2 -G -C -s $target2 #DOWNLOAD IG PICTURES OF TARGET2 WITH TAGGED PHOTOS #USING LOGIN2 INFO python3 $insta $login2 -G -C -s --tagged $target2 #DOWNLOAD IG PICTURES OF TARGET3 WITHOUT TAGGED PHOTOS #USING LOGIN2 INFO python3 $insta $login3 -G -C -s $target3 #DOWNLOAD IG PICTURES OF TARGET3 WITH TAGGED PHOTOS #USING LOGIN2 INFO python3 $insta $login3 -G -C -s --tagged $target3 echo Finished downloads or program as been ended by user action

Just put your usernames, passwords (only for IG)

if you want to add more accounts, just add something like this:

Code:
#INSTAGRAM NEW TARGET target4='' #TWITTER NEW TARGET twt_tg3='' #DOWNLOAD IG PICTURES OF TARGET4 WITHOUT TAGGED PHOTOS #USING LOGIN2 INFO python3 $insta $login2 -G -C -s $target4 #DOWNLOAD IG PICTURES OF TARGET4 WITH TAGGED PHOTOS #USING LOGIN2 INFO python3 $insta $login2 -G -C -s --tagged $target4

NOTE: If you want to download HD version of profile picture (IG) $loginX is obligatory, else SD will be download


[Image: FNM2mZ9.png]
If for some reason, Instagram servers refuses to dowload just delete $loginX parameter from the line and it will download with no limits
but some gathering info like geotags will not be available

after all, you must just save the file as ANYNAMEUWANT.sh and run it as
Code:
sh ANYNAMEUWANT.sh

CHEERS Biggrin



RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - Drako - 12-08-2019

Thanks for this. I would rather use a script than a buggy website full of advertisements. And you said geotags were available in this script? I thought social media platforms removed any location data on your photos.


RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - conspir4cy - 12-09-2019

(12-08-2019, 05:00 PM)Drako Wrote: Thanks for this. I would rather use a script than a buggy website full of advertisements. And you said geotags were available in this script? I thought social media platforms removed any location data on your photos.

but you can put location in your photos... so...


RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - Drako - 12-09-2019

(12-09-2019, 04:13 AM)conspir4cy Wrote:
(12-08-2019, 05:00 PM)Drako Wrote: Thanks for this. I would rather use a script than a buggy website full of advertisements. And you said geotags were available in this script? I thought social media platforms removed any location data on your photos.

but you can put location in your photos... so...

What I'm asking is, you can get the location data from photos by using this script? I think you misunderstood.


RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - conspir4cy - 12-13-2019

(12-09-2019, 05:13 AM)Drako Wrote:
(12-09-2019, 04:13 AM)conspir4cy Wrote:
(12-08-2019, 05:00 PM)Drako Wrote: Thanks for this. I would rather use a script than a buggy website full of advertisements. And you said geotags were available in this script? I thought social media platforms removed any location data on your photos.

but you can put location in your photos... so...

What I'm asking is, you can get the location data from photos by using this script? I think you misunderstood.

only if user has put the location manually. the script take the place from the data the user put manually when uploaded the ph.
it can not read metadata from jpg files. or at least i never saw data from downloaded files :/

i am going to investigate it anyway


RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - conspir4cy - 12-31-2019

(12-14-2019, 11:21 AM)sefefew Wrote:
(12-09-2019, 05:13 AM)Drako Wrote:
(12-09-2019, 04:13 AM)conspir4cy Wrote: but you can put location in your photos... so...

What I'm asking is, you can get the location data from photos by using this script? I think you misunderstood.

Nope not possible all the social media platforms Remove All The metadat before saving the images in their servers,
Or
While compressing your original image the metadata or exif info of the image will be lost or overwritten or will be removed completely.
i think the same way but i was not sure about it.
even when i think that upload process compress image or even convert it to another format


RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - mothered - 01-01-2020

(12-14-2019, 11:21 AM)sefefew Wrote: all the social media platforms Remove All The metadat before saving the images in their servers,

With the exception of Tumblr.


RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - mothered - 01-02-2020

(01-02-2020, 07:32 AM)sefefew Wrote:
(01-01-2020, 04:18 AM)mothered Wrote:
(12-14-2019, 11:21 AM)sefefew Wrote: all the social media platforms Remove All The metadat before saving the images in their servers,

With the exception of Tumblr.

Thanks for updating me.
Didnt knew this.

You're very welcome.

When Google+ was active, they too, did not delete metadata. Although not relative to social media, Flickr also stores metadata, but you can hide It In the Privacy Settings of your account.


RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - Niko2031 - 02-25-2020

Hmmmm could be interesting in the future


RE: (Photo-Grabber) How to do a batch-download from multiple TW/IG profiles - campo21 - 04-13-2020

Can this be executed on windows 10?