Welcome to the ICM Forum. If you have an account but have trouble logging in, or have other questions, see THIS THREAD.
Polls: 1930s (Results), 1972 (Jun 21st), 1954 awards (Jun 30th), 2010s (Jun 28th), Animation (Jul 21st)
Challenges: 1950s, Eastern Europe, Banned Films
Film of the Week: A tanú, July nominations (Jun 28th)

User-made scripts and apps etc

User avatar
Fergenaprido
Donator
Posts: 3093
Joined: Jun 03, 2014
Location: Malaysia
Contact:

User-made scripts and apps etc

#641

Post by Fergenaprido » February 12th, 2018, 3:12 pm

mjf314 on Feb 12 2018, 07:43:06 AM wrote:Here's another update. I think this one should remove duplicates correctly, and the ineligible list only needs the http URLs (without the s).

I need to sleep, so if it doesn't work then I'll try to fix it tomorrow.
No stress; you're up way too late to be fixing this. Thank you, though. :)

I'm just going ahead and manually changing everything from https to http in the lists. I'll try the new version also run it with the current version plus the changes, and see if they both come out the same in the end.

mjf314
Moderator
Posts: 10721
Joined: May 08, 2011
Contact:

#642

Post by mjf314 » February 12th, 2018, 3:45 pm

monk-time on Feb 12 2018, 08:04:52 AM wrote:
mjf314 on Feb 12 2018, 07:43:06 AM wrote:Here's another update. I think this one should remove duplicates correctly, and the ineligible list only needs the http URLs (without the s).
Why not use something like "\btt\d{7}\b" as regex for extracting IMDb IDs? Seems more future-proof and flexible to me.
The regex right now is "(?<=,)https://www.imdb.com/title/tt&#092;&#092;d{7}/"

The URL has to be preceded by a comma because I want it to ignore IMDb URLs that people write in comments (it's not very common, but it could happen).

I guess "(?<=,)https?://www.imdb.com/title/tt&#092;&#092;d{7}/" would also work.

User avatar
monk-time
Posts: 1334
Joined: Mar 23, 2015
Contact:

#643

Post by monk-time » February 12th, 2018, 6:03 pm

mjf314 on Feb 12 2018, 08:45:22 AM wrote:The URL has to be preceded by a comma because I want it to ignore IMDb URLs that people write in comments (it's not very common, but it could happen).
Do you mean by comments the notes you can add for any movie while editing a list on IMDb? In that case a short regex will still work if you only use the first match per line; their CSVs have IMDb IDs in the second column so a proper ID will be matched regardless of comments. It's still a hack that relies on the column order not changing though, in my scripts I now try to do full CSV parsing (with stdlib or any decent 3rd-party library) so that I can refer to the field I need by its column name and pray they don't rename the columns.

By the way, what about comments that just have an IMDb link to another movie as a comment? This for example will cause your regex to match an offensively wrong link:

Code: Select all

Position,Const,Created,Modified,Description,Title,URL,Title Type,IMDb Rating,Runtime (mins),Year,Genres,Num Votes,Release Date,Directors,Your Rating,Date Rated
1,tt0111341,2018-02-12,2018-02-12,https://www.imdb.com/title/tt0499549/,Sátántangó,https://www.imdb.com/title/tt0111341/,movie,8.5,450,1994,Drama,7095,1994-02-08,Béla Tarr,9,2014-01-03
ICM profile | My userscripts for IMDb/iCM | iCheckMovies Enhanced by themagician: call it direct, call it collect, but CALL IT TODAY!

mjf314
Moderator
Posts: 10721
Joined: May 08, 2011
Contact:

#644

Post by mjf314 » February 13th, 2018, 12:11 am

monk-time on Feb 12 2018, 11:03:09 AM wrote:By the way, what about comments that just have an IMDb link to another movie as a comment? This for example will cause your regex to match an offensively wrong link:

Code: Select all

Position,Const,Created,Modified,Description,Title,URL,Title Type,IMDb Rating,Runtime (mins),Year,Genres,Num Votes,Release Date,Directors,Your Rating,Date Rated
1,tt0111341,2018-02-12,2018-02-12,https://www.imdb.com/title/tt0499549/,Sátántangó,https://www.imdb.com/title/tt0111341/,movie,8.5,450,1994,Drama,7095,1994-02-08,Béla Tarr,9,2014-01-03
I don't think I've ever seen someone do that, but you're right, it wouldn't work in that case. On the other hand, I have seen people put IMDb links in the middle of larger comments.
Last edited by mjf314 on February 13th, 2018, 12:11 am, edited 1 time in total.

User avatar
Fergenaprido
Donator
Posts: 3093
Joined: Jun 03, 2014
Location: Malaysia
Contact:

#645

Post by Fergenaprido » February 13th, 2018, 5:15 am

Fergenaprido on Feb 12 2018, 08:12:06 AM wrote:
mjf314 on Feb 12 2018, 07:43:06 AM wrote:Here's another update. I think this one should remove duplicates correctly, and the ineligible list only needs the http URLs (without the s).

I need to sleep, so if it doesn't work then I'll try to fix it tomorrow.
No stress; you're up way too late to be fixing this. Thank you, though. :)

I'm just going ahead and manually changing everything from https to http in the lists. I'll try the new version also run it with the current version plus the changes, and see if they both come out the same in the end.
So I tried it and version 8.2 won't even run; it throws an error. I used v8.1 and it worked fine after I changed all of the https urls.

mjf314
Moderator
Posts: 10721
Joined: May 08, 2011
Contact:

#646

Post by mjf314 » February 13th, 2018, 5:25 am

I think it's fixed now. I just tested it on 2 lists (one IMDb and one iCM) and it seems to be working. ineligible and duplicate detection also seems to be working.

Attachments:

User avatar
mightysparks
Site Admin
Posts: 29184
Joined: May 05, 2011
Location: Perth, WA, Australia
Contact:

#647

Post by mightysparks » February 16th, 2018, 5:55 am

I've been having a weird problem with MyMovies Enhancer; I have two custom lists for films that I own, so all films turn dark blue or light pink if they're on those lists... buuuttt for some reason all the films on my list '2017 Watchlist' don't get highlighted in those colours when I run it :/ I also noticed that if the list page has https it doesn't load any of the colours, but that particular list still doesn't get highlighted when it's not https. It does highlight them in the default blue to show that they are on 1+ lists, and I can hover over and see what lists they're on but no custom colour. With https, it doesn't load any highlighting.
"I do not always know what I want, but I do know what I don't want." - Stanley Kubrick

iCM | IMDb | LastFM | TSZDT

Image

User avatar
funkybusiness
Donator
Posts: 10426
Joined: Jan 22, 2013
Contact:

#648

Post by funkybusiness » February 16th, 2018, 6:35 am

total nub but here we go.

so, open up the code in greasemonkey or tampermonkey or whatever you run, and make sure near the top where it says INCLUDES, make sure there is a // @include https://*.imdb.com/* as well as a // @include http://*.imdb.com/* that's almost definitely what your problem is, that you've got a http:[...] but no https[...] line there. and you'll probably need to duplicate all the EXCLUDES with https copies as well.
Last edited by funkybusiness on February 16th, 2018, 6:36 am, edited 1 time in total.

User avatar
funkybusiness
Donator
Posts: 10426
Joined: Jan 22, 2013
Contact:

#649

Post by funkybusiness » February 16th, 2018, 7:12 am

also, a couple other thoughts, this is a list called 2017 watchlist? maybe name it something different? and make sure the customcolor variable is set properly. that's all I can think of.

User avatar
mightysparks
Site Admin
Posts: 29184
Joined: May 05, 2011
Location: Perth, WA, Australia
Contact:

#650

Post by mightysparks » February 16th, 2018, 7:25 am

funkybusiness on Feb 16 2018, 12:12:37 AM wrote:also, a couple other thoughts, this is a list called 2017 watchlist? maybe name it something different? and make sure the customcolor variable is set properly. that's all I can think of.
changing the name didn't seem to help, also my other lists with similar names are fine. The colours work for all other films on my 'On lists' and 'Not on lists' lists (which are the ones that use the custom colours), so I don't think there's a problem there. Idk why it doesn't like my 2017 watchlist :(
"I do not always know what I want, but I do know what I don't want." - Stanley Kubrick

iCM | IMDb | LastFM | TSZDT

Image

User avatar
monk-time
Posts: 1334
Joined: Mar 23, 2015
Contact:

#651

Post by monk-time » February 16th, 2018, 8:43 am

Seems like two separate issues at once: one is IMDb experimenting with enabling HTTPS (the author is aware of that, expect a fix soon), and another is probably some error in the list name or color value in the settings.

Maybe try posting as much info as you can get as a new issue to the author's bug tracker? Things like screenshots, snippet of the source code where you put the color values in, console contents on the page where highlighting is wrong (F12 -> Console), the value of the script's localStorage (dump it on pastebin). To get the latter, run this command in the console while you're on an IMDb page (replace "username" with your IMDb name):

Code: Select all

document.body.outerHTML = localStorage.getItem('myMovies-username');
(btw, I've finished my fork, but since the author is active again, I don't want to make a proper release for it. It's on GH though)
ICM profile | My userscripts for IMDb/iCM | iCheckMovies Enhanced by themagician: call it direct, call it collect, but CALL IT TODAY!

allisoncm
Posts: 16009
Joined: May 11, 2011
Contact:

#652

Post by allisoncm » February 18th, 2018, 8:13 pm

With creating IMDB lists, is there a way to enter in URLs like we used to be able to do? I've been searching for a script update and can't seem to find it. I wanted to clone/update my favorite films list, but it's looking like it will be problematic and I'm not going to add over 1,000 titles by hand.

User avatar
PeacefulAnarchy
Moderator
Posts: 22803
Joined: May 08, 2011
Contact:

#653

Post by PeacefulAnarchy » February 18th, 2018, 8:21 pm

allisoncm on Feb 18 2018, 01:13:53 PM wrote:With creating IMDB lists, is there a way to enter in URLs like we used to be able to do? I've been searching for a script update and can't seem to find it. I wanted to clone/update my favorite films list, but it's looking like it will be problematic and I'm not going to add over 1,000 titles by hand.
http://www.icmforum.com/single/?p=10127956&t=7272196

You can't use urls, only the ttid part. You can use =LEFT(RIGHT(IMDBURL,10),9) to extract it in excel where IMDBURL is the cell with the imdburl.

allisoncm
Posts: 16009
Joined: May 11, 2011
Contact:

#654

Post by allisoncm » February 18th, 2018, 8:31 pm

Ah, thank you so much! :) :cheers:
Last edited by allisoncm on February 18th, 2018, 8:32 pm, edited 1 time in total.

User avatar
monk-time
Posts: 1334
Joined: Mar 23, 2015
Contact:

#655

Post by monk-time » February 18th, 2018, 11:51 pm

PeacefulAnarchy on Feb 18 2018, 01:21:53 PM wrote:You can't use urls, only the ttid part. You can use =LEFT(RIGHT(IMDBURL,10),9) to extract it in excel where IMDBURL is the cell with the imdburl.
That's no longer true - 3.1 now by default understands any format (titles, ids, full urls), and you can switch to different modes if you want, for example, to extract only ids from a messy text.
ICM profile | My userscripts for IMDb/iCM | iCheckMovies Enhanced by themagician: call it direct, call it collect, but CALL IT TODAY!

User avatar
joachimt
Donator
Posts: 28443
Joined: Feb 16, 2012
Location: Netherlands
Contact:

#656

Post by joachimt » February 23rd, 2018, 1:02 pm

IMDb-listhelper broke down suddenly. I added the Oceania-list for all votes without a problem, but when I wanted to add the top 100, the listhelper-box was suddenly gone. When I try to edit a different list, the box is gone there as well.

I'm on Chrome 63.0.3239.132 with Tampermonkey 4.5 and listhelper 3.1.
ICM-profile
Fergenaprido: "I find your OCD to be adorable, J"

themagician
Posts: 3889
Joined: Jun 18, 2011
Location: Finland
Contact:

#657

Post by themagician » February 23rd, 2018, 1:18 pm

joachimt on Feb 23 2018, 06:02:22 AM wrote:IMDb-listhelper broke down suddenly. I added the Oceania-list for all votes without a problem, but when I wanted to add the top 100, the listhelper-box was suddenly gone. When I try to edit a different list, the box is gone there as well.

I'm on Chrome 63.0.3239.132 with Tampermonkey 4.5 and listhelper 3.1.
HTTPS caused the script not to load. Fixed in 3.1.1: https://greasyfork.org/en/scripts/11617 ... ist-helper

User avatar
joachimt
Donator
Posts: 28443
Joined: Feb 16, 2012
Location: Netherlands
Contact:

#658

Post by joachimt » February 23rd, 2018, 1:20 pm

themagician on Feb 23 2018, 06:18:09 AM wrote:
joachimt on Feb 23 2018, 06:02:22 AM wrote:IMDb-listhelper broke down suddenly. I added the Oceania-list for all votes without a problem, but when I wanted to add the top 100, the listhelper-box was suddenly gone. When I try to edit a different list, the box is gone there as well.

I'm on Chrome 63.0.3239.132 with Tampermonkey 4.5 and listhelper 3.1.
HTTPS caused the script not to load. Fixed in 3.1.1: https://greasyfork.org/en/scripts/11617 ... ist-helper
Working again! :thumbsup:
ICM-profile
Fergenaprido: "I find your OCD to be adorable, J"

User avatar
blueboybob
Donator
Posts: 1173
Joined: Mar 11, 2013
Location: DC
Contact:

#659

Post by blueboybob » February 27th, 2018, 2:02 pm

So IMDB just updated to https FYI.

SOme of my scripts broke, had to do a quick fix.

allisoncm
Posts: 16009
Joined: May 11, 2011
Contact:

#660

Post by allisoncm » February 28th, 2018, 10:55 pm

Having trouble with downloading videos from YouTube. Any tips? Has YouTube changed their interface or something? Some vids will download (recent Romanian ones) and some won't.
Last edited by allisoncm on February 28th, 2018, 11:22 pm, edited 1 time in total.

User avatar
bal3x
Donator
Posts: 12997
Joined: May 26, 2011
Contact:

#661

Post by bal3x » March 1st, 2018, 1:29 am

allisoncm on Feb 28 2018, 03:55:56 PM wrote:Having trouble with downloading videos from YouTube. Any tips? Has YouTube changed their interface or something? Some vids will download (recent Romanian ones) and some won't.
Haven't seen any issues - I use jdownloader2.

User avatar
blueboybob
Donator
Posts: 1173
Joined: Mar 11, 2013
Location: DC
Contact:

#662

Post by blueboybob » March 1st, 2018, 2:27 am

i use keepvid

allisoncm
Posts: 16009
Joined: May 11, 2011
Contact:

#663

Post by allisoncm » March 1st, 2018, 4:33 am

Thanks, guys. I'll try those tomorrow and see what works.

User avatar
bal3x
Donator
Posts: 12997
Joined: May 26, 2011
Contact:

#664

Post by bal3x » March 2nd, 2018, 1:46 am

allisoncm on Feb 28 2018, 09:33:12 PM wrote:Thanks, guys. I'll try those tomorrow and see what works.
If you still have issues perhaps you can try one of these:
https://www.ghacks.net/2018/02/28/what- ... xtensions/

User avatar
mightysparks
Site Admin
Posts: 29184
Joined: May 05, 2011
Location: Perth, WA, Australia
Contact:

#665

Post by mightysparks » March 9th, 2018, 2:48 am

The IMDb links thingy on the side is playing up when I click Google search. In the script, it has

[{title:"Google", url:"http://www.google.com/search?q={title} {year}"},

but when I click it, it also lists like colour/run time etc, but it didn't do that before.
"I do not always know what I want, but I do know what I don't want." - Stanley Kubrick

iCM | IMDb | LastFM | TSZDT

Image

User avatar
Lonewolf2003
Donator
Posts: 7561
Joined: Dec 29, 2012
Contact:

#666

Post by Lonewolf2003 » April 28th, 2018, 2:33 pm

Is there an updated version of the auto listdownloader? My version doesn't seem to work anymore


Or does anyone know how to get the cookies for imdb and icheckmovies in Chrome?
Last edited by Lonewolf2003 on April 28th, 2018, 3:03 pm, edited 1 time in total.

mjf314
Moderator
Posts: 10721
Joined: May 08, 2011
Contact:

#667

Post by mjf314 » April 28th, 2018, 9:15 pm

Sorry, I haven't had time to update it yet.

User avatar
Lonewolf2003
Donator
Posts: 7561
Joined: Dec 29, 2012
Contact:

#668

Post by Lonewolf2003 » April 28th, 2018, 11:22 pm

It's okay. Maybe it is still working, but are my cookies just not right. But I don't remember how to get those.

For the SE Asian poll I downloaded the list manually. But for other polls with more participants, that will be more tiresome.
Last edited by Lonewolf2003 on April 28th, 2018, 11:26 pm, edited 1 time in total.

mjf314
Moderator
Posts: 10721
Joined: May 08, 2011
Contact:

#669

Post by mjf314 » April 28th, 2018, 11:36 pm

IMDb made a change that caused it to stop working.

User avatar
blueboybob
Donator
Posts: 1173
Joined: Mar 11, 2013
Location: DC
Contact:

#670

Post by blueboybob » May 5th, 2018, 9:03 pm

Is there a script (or easy way) to make an IMDB list from an iCM list?

Or if I give a list of IMDB URLs to quickly make an IMDB list?

User avatar
joachimt
Donator
Posts: 28443
Joined: Feb 16, 2012
Location: Netherlands
Contact:

#671

Post by joachimt » May 5th, 2018, 9:06 pm

blueboybob on May 5 2018, 03:03:23 PM wrote:Is there a script (or easy way) to make an IMDB list from an iCM list?

Or if I give a list of IMDB URLs to quickly make an IMDB list?
https://greasyfork.org/en/scripts/11617 ... ist-helper
ICM-profile
Fergenaprido: "I find your OCD to be adorable, J"

User avatar
blueboybob
Donator
Posts: 1173
Joined: Mar 11, 2013
Location: DC
Contact:

#672

Post by blueboybob » May 5th, 2018, 9:42 pm

Thanks I knew it had to exist

User avatar
blueboybob
Donator
Posts: 1173
Joined: Mar 11, 2013
Location: DC
Contact:

#673

Post by blueboybob » May 8th, 2018, 1:50 pm

I used this to make a list on IMDB. Cool there is no "limit". Now I can easily see all official checks I havente seen -- https://www.imdb.com/list/ls026627955

User avatar
Lonewolf2003
Donator
Posts: 7561
Joined: Dec 29, 2012
Contact:

#674

Post by Lonewolf2003 » August 4th, 2018, 3:47 pm

Does anyone know if the Challenger program works on the new forum? It should work when changing the forum url in the config file, but I get an errror message: "Error: 'NoneType' object has no attribute 'find_all'

sandrikoti
Posts: 24
Joined: Sep 12, 2013
Contact:

#675

Post by sandrikoti » August 4th, 2018, 7:25 pm

so filmcounter doesn't work anymore? I haven't been here in a long time

themagician
Posts: 3889
Joined: Jun 18, 2011
Location: Finland
Contact:

#676

Post by themagician » August 4th, 2018, 7:36 pm

Lonewolf2003 wrote:
August 4th, 2018, 3:47 pm
Does anyone know if the Challenger program works on the new forum? It should work when changing the forum url in the config file, but I get an errror message: "Error: 'NoneType' object has no attribute 'find_all'
It doesn't work with the new forum unfortunately. It basically requires a complete rewrite (logging in, parsing html). I'll try to look into it sometime soon.

User avatar
Lonewolf2003
Donator
Posts: 7561
Joined: Dec 29, 2012
Contact:

#677

Post by Lonewolf2003 » August 4th, 2018, 10:11 pm

themagician wrote:
August 4th, 2018, 7:36 pm
Lonewolf2003 wrote:
August 4th, 2018, 3:47 pm
Does anyone know if the Challenger program works on the new forum? It should work when changing the forum url in the config file, but I get an errror message: "Error: 'NoneType' object has no attribute 'find_all'
It doesn't work with the new forum unfortunately. It basically requires a complete rewrite (logging in, parsing html). I'll try to look into it sometime soon.
Thanks. There is no hurry. I will just manually update the challenge once in awhile then.

User avatar
PeacefulAnarchy
Moderator
Posts: 22803
Joined: May 08, 2011
Contact:

#678

Post by PeacefulAnarchy » August 29th, 2018, 1:48 am

mjf314 wrote:
December 26th, 2012, 5:47 pm
icmchartreader: Enter the URL of the first page of an iCM chart and how many pages you want to read, and it creates a file called icmchart.csv with the IMDb URLs. You can also use it to read the IMDb URLs from an iCM list which might be useful for people who can't export.
Attachments:
[*] icmchartreader.zip (2.53 KB)
Did this stop working or is my java setup broken? I get the prompt for the url and pages but it doesn't seem to do anything afterwards.

Edit: Or maybe ICM went down just when I ran it?

mjf314
Moderator
Posts: 10721
Joined: May 08, 2011
Contact:

#679

Post by mjf314 » August 29th, 2018, 2:00 am

I haven't used it recently so I don't know if it still works, but iCM seems to be down for me right now.

User avatar
PeacefulAnarchy
Moderator
Posts: 22803
Joined: May 08, 2011
Contact:

#680

Post by PeacefulAnarchy » August 29th, 2018, 2:07 am

OK, I'll try it later then. I know it stopped working for me when ICM was redirecting to V2, but otherwise it had been working fine for me, but on another computer that is currently down.

Post Reply