Before we proceed let me make it clear we are not scraping tags from any website.
We will "Generate" them using simple code in python.
So, How does it work?
First,
I have collected all popular tags and saved it in a text file as list.
This will be our input file. You can also add your own type of tags if you what.
#love #instagood #photooftheday #beautiful #fashion #tbt #happy #cute #followme #like4like #follow #me #picoftheday #selfie #instadaily #friends #summer #girl #art #fun #repost #smile #nature #instalike #food #style #tagsforlikes #family #likeforlike #igers #fitness #nofilter #follow4follow #instamood #amazing #life #travel #beauty #vscocam #sun #bestoftheday #music #followforfollow #beach #instagram #photo #sky #vsco #dog #l4l #sunset #f4f #ootd #pretty #swag #makeup #foodporn #hair #cat #party #girls #photography #cool #baby #lol #tflers #model #motivation #night #instapic #funny #gym #healthy #yummy #hot #design #black #pink #flowers #christmas #blue #work #instafood #fit #instacool #iphoneonly #wedding #blackandwhite #workout #lifestyle #handmade #followback #instafollow #home #drawing #my #nyc #webstagram #sweet #instalove
Secondly,
Instagram and facebook only accepts the maximum of 30 tags per post.
So here it will create 30 tags from the above list but random every time you run.
Copy this code and save it as tag_generator.py
This script will also create a file named tags30.txt will have have a backup of your tags which you have used or copypasted.
import random infile = 'tags.txt' number_of_list = 30 with open(infile,'r') as f: v_list = f.readlines() total = len(v_list) infile_ = 'tags30.txt' with open(infile_,'w') as r: r.writelines(random.sample(v_list,number_of_list)) print("Done!") with open(infile_,'r') as f: data = f.readlines() total = len(data) for i in data: line = i.replace('\n','') print(line+' ',end='')
#likeforlike #smile #blackandwhite #yummy #instacool
#picoftheday #hair #sweet #love #sky #fit #amazing #my
#followback #nyc #repost #dog #makeup #cute #summer
#food #pretty #tflers #design #happy #night
#photooftheday #baby #instalike #followforfollow
#girls #life #handmade #follow4follow #travel #foodporn
#sweet #flowers #vsco #photo #ootd #followforfollow
#instadaily #followback #my #beauty #fitness
#hot #christmas #nature #instalike #photooftheday
#bestoftheday #cool #follow #vscocam #nofilter #repost
#sun #dog
#home #model #fun #webstagram #followme #likeforlike
#beach #workout #l4l #bestoftheday #handmade #like4like
#tflers #iphoneonly #hair #photography #life #photo
#design #follow4follow #motivation #christmas #food
#night #happy #black #tbt #instagram #cool #instalove
Comments
Post a Comment