old_contents: import time
  
  from RatS.base.base_ratings_uploader import RatingsUploader
  from RatS.tmdb.tmdb_site import TMDB
  
  
  class TMDBRatingsInserter(RatingsUploader):
      def __init__(self, args):
          super(TMDBRatingsInserter, self).__init__(TMDB(args), args)
          self.url_for_csv_file_upload = 'https://www.themoviedb.org/account/StegSchreck/import'
          self.css_id_of_file_input_element = 'csv_file'
          self.xpath_selector_for_submit_button = "//form[@name='import_csv']//input[@type='submit']"
  
      def pre_upload_action(self):
          cookie_accept_button = self.site.browser.find_element_by_id('cookie_notice')\
              .find_elements_by_class_name('accept')
          if cookie_accept_button is not None and len(cookie_accept_button) > 0:
              cookie_accept_button[0].click()
              time.sleep(1)
  
new_contents: import time
  
  from RatS.base.base_ratings_uploader import RatingsUploader
  from RatS.tmdb.tmdb_site import TMDB
  
  
  class TMDBRatingsInserter(RatingsUploader):
      def __init__(self, args):
          super(TMDBRatingsInserter, self).__init__(TMDB(args), args)
          self.url_for_csv_file_upload = 'https://www.themoviedb.org/account/{username}/import'.format(
              username=self.site.USERNAME
          )
          self.css_id_of_file_input_element = 'csv_file'
          self.xpath_selector_for_submit_button = "//form[@name='import_csv']//input[@type='submit']"
  
      def pre_upload_action(self):
          cookie_accept_button = self.site.browser.find_element_by_id('cookie_notice')\
              .find_elements_by_class_name('accept')
          if cookie_accept_button is not None and len(cookie_accept_button) > 0:
              cookie_accept_button[0].click()
              time.sleep(1)
  
subject: remove hardcoded shit