old_contents: """
      instabot example
  
      Workflow:
          1) Reads user_ids from blacklist and whitelist
  
      Notes:
          blacklist and whitelist files should contain user_ids - each one on the
          separate line.
          Example:
              1234125
              1234124512
  """
  
  import sys
  import os
  
  sys.path.append(os.path.join(sys.path[0],'../../'))
  from instabot import Bot
  
new_contents: """
      instabot example
  
      Workflow:
          1) Reads user_ids from blacklist and whitelist
          2) likes several last medias by users in your timeline
  
      Notes:
          blacklist and whitelist files should contain user_ids - each one on the
          separate line.
          Example:
              1234125
              1234124512
  """
  
  import sys
  import os
  from tqdm import tqdm
  
  sys.path.append(os.path.join(sys.path[0],'../../'))
  from instabot import Bot
  
  bot = Bot(whitelist="whitelist.txt",
            blacklist="blacklist.txt")
  bot.login()
  
  timeline_medias = bot.get_timeline_medias()
  for media in tqdm(timeline_medias, desc="timeline"):
      bot.like_user_id(bot.get_media_owner(media))
  
subject: add the black-whitelist example