IMDB List Importer

Import list of titles or people in the imdb list

Author
Neinei0k
Daily installs
2
Total installs
1,689
Ratings
12 0 0
Version
9.0
Created
2016-09-29
Updated
2023-11-23
License
GPL-3.0+
Applies to

Import list of titles or people in the imdb list.

Very fast and easy to use.

  • Import data in the form of csv or unstructured text. If you will use csv, descriptions also will be added. In unstructured text everything except for elements id's will be ignored.
  • Read data from text field or directly from file.
  • Choose to ignore duplicate elements. Please note that only duplicates of the elements that you want to add will be ignored. If you are adding element that is already on the list, it will be added.
  • Choose whether you want items to be added in the order specified or in reverse order.
  • Choose position where to insert items: beginning of the list, end of the list (default), at specific position (if value is invalid, items will be inserted to the end of the list).
  • It DOES NOT add ratings. Since ratings are added per title and not per list item, it is best to do this separately. To import ratings use IMDb Ratings Importer.

Usage:

  1. Open an existing list or create and open a new one.
  2. Switch to the editing mode. The new form will be right below the default one (See screenshot).
  3. Chose parameters.
  4. Insert text in text-field or choose file.
  5. Click button 'Import List'.

If elements were added successfully, page will be automatically reloaded. Otherwise error will be displayed and more information can be found in the browser console.

The script only adds next item to the list after confirmation of successfully added previous item. If, for some reason, item was not added, the script will stop running. If this happens, manually remove added items from the import field/file and repeat the procedure.

  • To find which items to remove from CSV file, you would have to look at the last item added and remove it and all lines before it (except for the first line with field names). You can also remove the same number of lines that the script showed were added when it stopped running.
  • For unstructured text
    1. Check id of a last item added ('tt' followed by 7-8 digits for titles or 'nm' followed by 7-8 digits for names).
    2. Search for the id in either text editor or just directly in the browser (in either case press Ctrl+F to open search dialog).
    3. If id was only found once, remove it and all text before it.
    4. If it was found multiple times, then check which one of them was added last. For this, you can repeat the procedure but look at the item added next to last.

Exported lists from IMDB in CSV format can be imported without any modifications.

CSV structure:

  1. First line.
    • First line of the file or input should contain titles of the fields.
    • Field 'const' is required. Alternative spelling 'Const' and 'Description' are also accepted.
    • Titles should be separated with a comma ',' and may be enclosed in double quotes. There should be no spaces before or after comma.
    • Example:
      "field1",field2,const,"field4","description",field6
  2. The rest of the lines.
    • Each non empty line should contain comma-separated values which may be in double quotes. Double quotes are required if comma is part of the field. For example if description field has value "This is a really great, amazing movie" then double quotes are required because there is a comma inside.
    • Empty lines will be ignored.
    • Field 'const' should start with "tt" for a list of titles and "nm" for a list of names, followed by 7 or 8 digits.

Example of a minimal CSV file with descriptions:

Const,Description
tt0021884,"Frankenstein is a great movie, released in 1931."
tt0026138,"Bride of Frankenstein is a sequel to Frankenstein (1931), released in 1935."
tt0021814,"Dracula is another great movie released in 1931."


Please note: because of some problem with Greasemonkey, if you use Firefox browser and in the about:config, the property privacy.firstparty.isolate is set to true, then this script would not work. I don't know if this problem exists in other browsers.

Please write a feedback if something does not work.