// Web to Plex - Shana Project Plugin
// Aurthor(s) - @ephellon (2018)

let plugin = {
    "url": "*://*.shanaproject.com/*",

    "init": () => {
        let title = document.querySelector('.overview i').textContent.trim(),
            year = +document.querySelector('#header_big .header_info_block + *').textContent.trim().replace(/^.*(\d{4}).*$/m, '$1'),
            image = document.querySelector('#header_big .header_display_box').style['background-image'].trim().replace(/url\((.+)\)/i, '$1');

        return { type: 'show', title, year, image };
    }
};

@@ -174,24 +174,18 @@
 nt.query
-Selector
+By
 ('.overv
@@ -189,18 +189,56 @@
 erview i
-')
+, #header_big .header_info_block').first
 .textCon
@@ -280,32 +280,26 @@
 cument.query
-Selector
+By
 ('#header_bi
@@ -325,16 +325,22 @@
 k + *').
+first.
 textCont
@@ -421,16 +421,10 @@
 uery
-Selector
+By
 ('#h
@@ -455,16 +455,22 @@
 y_box').
+first.
 style%5B'b

Update shana_project.js