Browse Source

Add a warning message is a license infobox is display to say that maybe
some episodes would be missing

COOOOKIIIEEEEE!!!!

(I think I'm hungry, I should go to eat!)

Godzil 5 years ago
parent
commit
7dcd932ee5
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/series.ts

+ 5 - 0
src/series.ts

@@ -215,6 +215,11 @@ function pageScrape(config: IConfig, task: IConfigTask, done: (err: any, result?
       log.info('Checking availability for ' + title);
       const episodes: ISeriesEpisode[] = [];
 
+      if ($('.availability-notes-low').length || $('.availability-notes-high').length)
+      {
+        log.warn('This serie may have georestriction and some missings episode.');
+      }
+
       $('.episode').each((i, el) => {
         if ($(el).children('img[src*=coming_soon]').length) {
           return;