Author |
Topic |
|
Sabry
Starting Member
Italy
9 Posts |
Posted - 18 Nov 2023 : 18:23:11
|
Hi JDommi, the TV Series script is not working anymore. It doesn't load any shows again... |
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 19 Nov 2023 : 11:23:36
|
Hi!
Did you have checked the version here: http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=16275?
If it doesn't work I will have a look at it. But I don't know if I can manage it this week although I have holidays. Unfortunately yesterday I have twisted my right hand when our dog was too fast for me ... |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Sabry
Starting Member
Italy
9 Posts |
Posted - 19 Nov 2023 : 13:42:15
|
Hi :) unfortunately it doesn't work. Please take care of your hand and then have a look on the script when you'll be able to do it, no rush ;) I will wait for a new updated script on this forum.
Thanks!
|
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 07 Jan 2024 : 18:15:32
|
Today I have tried again to get the movielist back again - without any success like in the previous tests yesterday I don't know what imdb has changed but neither the simple search nor the advanced search seem to pass the data to XMM. All in all I have now worked on the script for about 8 hours and I become frustrated more and more...
Maybe someone has an idea of how to get the list back again
If not I will try to make a special loader although I don't know if the MagicScriptEngine is able to process that on the episodes.#CREATEMOVIELIST#
#PUT#=0#17#
#STARTREADWEB#
#FINDLINE#=<div data-testid="no-results-image-container-test-id" class="sc-e6ec60f0-0 cULCE">#23##ONERROR#=*OK*
#IF# #23#>>#00#
#GOTO#=SERIESNOTFOUND
#ENDIF#
#STARTREADWEB#
#FINDLINE#=<div class="sc-53c98e73-3 kttqmq">#10# #ONERROR#=*STOP*
#REPEAT#
#FIND#=div class="sc-53c98e73-3 kttqmq">#10# #ONERROR#=*STOP*
#PUTCURSOR#=#10#
#FIND#=<a href="/title/#04#
#FINDPREVIOUS#=class="ipc-image"#11# #ONERROR#=*OK*
#IF# #11#<<#10#
#PUT#=#08#
#GOTO#=NOCOVERPICFOUND
#ENDIF#
#FIND#=src="#04#
#FIND#="#04#
#FIND#=.jpg#05#
#FIND#="#05#
#TAKEWORD#=#08#,#04#,#05# //Coverpic
:NOCOVERPICFOUND
#LOADCURSOR#=#10#
#FIND#=a href="#04#
#FIND#="#04#
#FIND#=/?ref_=sr_t_1"#05#
#TAKEWORD#=#06#,#04#,#05# //Link
#FIND#=<h3 class="ipc-title__text">#04#
#FIND#=">#04#
#FIND#= #04#
#FIND#=</h3>#05#
#TAKEWORD#=#07#,#04#,#05# //Title
#FIND#=<div class="sc-43986a27-7 #04#
#FIND#=<span class="#04#
#FIND#=>#04#
#FIND#=</span>#05#
#TAKEWORD#=#09#,#04#,#05# //Year(s)
#FIND#=<span class="sc-43986a27-3#04#
#FIND#=>#04#
#FIND#=</span>#05#
#TAKEWORD#=#10#,#04#,#05# //(Mini-)Series
#STRING#=#07#=#07# (#08#) #09
#CHECKVARIABLE#=#07#
#STARTSUBSTITUTETAGS#
#CLEARTAGS#
#STARTDELETETAGS#
#WRITETITLELIST#=https://www.imdb.com/#06# ---> #07# §#08#
#WHILE# #00#<>#10#
:ENDMLIST
#IF# #17#==#00#
#GOTO#=SERIESNOTFOUND
#ENDIF#
#GOTO#=ENDCREATEMOVIELIST
:SERIESNOTFOUND
// No titles were found
#WRITETITLELIST#= ~~~~~~~~ The script couldn't find any titles matching that name. ~~~~~~~~
#WRITETITLELIST#=
#WRITETITLELIST#= If you know an alternative name for this movie then you could try to enter it
#WRITETITLELIST#= again and after make import again
#WRITETITLELIST#=
#WRITETITLELIST#= If it still doesn't find anything then try to go to this page and search for it manually:
#WRITETITLELIST#= https://www.imdb.com/search
#WRITETITLELIST#=
#WRITETITLELIST#= If you could find it manually then please post a bugreport in this thread in the XMM forum:
#WRITETITLELIST#= http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=772
:ENDCREATEMOVIELIST
#ENDCREATEMOVIELIST# |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Kipcior
New Member
78 Posts |
Posted - 08 Jan 2024 : 21:08:53
|
I was able to get the list of movies using different search and differnt criteria but after I pick the title from the list, it crashes along the way so still need to work on it. And it is not using advanced search so it retrieves nor only tv show but also normal movies.
Anyhow, I noticed in your script that in line where you form final string of the movie list item, last variable is without ending #:
#STRING#=#07#=#07# (#08#) #09
Not sure if it helps a bit but something to correct for sure.
I also have a different escape condition, at the beginning of block because you're checking using 'greater' operator, while I am using equal to - probably both ways are correct so depends on the approach |
|
|
JDommi
Administrator
Germany
4650 Posts |
|
Kipcior
New Member
78 Posts |
Posted - 09 Jan 2024 : 08:53:25
|
I used the second one.
here is part of my code for MOVIELIST - again, might be dirty and not as clean as yours but at least it creates a list of movies so maybe you'll find sometihng useful in it.
#CREATEMOVIELIST# #PUT#=0#17# #STARTREADWEB# #FINDLINE#=<ul class="ipc-metadata-list#23##ONERROR#=*OK* #IF# #23#==#00# #GOTO#=SERIESNOTFOUND #ENDIF# #FIND#=<div class="ipc-media ipc-media--poster#10# #ONERROR#=*STOP* #REPEAT# #FIND#=<img alt="#10# #ONERROR#=*STOP* #PUTCURSOR#=#10# #FIND#= href="/title/#04# #FINDPREVIOUS#=class="ipc-image"#11# #ONERROR#=*OK* #IF# #11#<<#10# #PUT#=#08# #GOTO#=NOCOVERPICFOUND #ENDIF# #FIND#=src="#04# #FIND#="#04# #FIND#=.jpg#05# #FIND#="#05# #TAKEWORD#=#08#,#04#,#05# //Coverpic :NOCOVERPICFOUND #LOADCURSOR#=#10# #FIND#= href="#04# #FIND#="#04# #FIND#=/?ref_=fn_tt_tt#05# #TAKEWORD#=#06#,#04#,#05# //Link #FIND#=">#04# #COMPUTECURSOR#=+1 #PUTCURSOR#=#04# #FIND#=</a>#05# #TAKEWORD#=#07#,#04#,#05# //Title #FIND#=<li role="presentation"#04# #FIND#=<span class="#04# #FIND#=>#04# #FIND#=</span>#05# #TAKEWORD#=#09#,#04#,#05# //Year(s) #STRING#=#07#=#07# (#08#) #09# #CHECKVARIABLE#=#07# #STARTSUBSTITUTETAGS# #CLEARTAGS# #STARTDELETETAGS# #WRITETITLELIST#=https://www.imdb.com/#06# ---> #07# §#08# #ENDIF# #WHILE# #00#<>#10# :ENDMLIST #IF# #17#==#00# #GOTO#=SERIESNOTFOUND #ENDIF# #GOTO#=ENDCREATEMOVIELIST :SERIESNOTFOUND // No titles were found #WRITETITLELIST#= ~~~~~~~~ The script couldn't find any titles matching that name. ~~~~~~~~ #WRITETITLELIST#= #WRITETITLELIST#= If you know an alternative name for this movie then you could try to enter it #WRITETITLELIST#= again and after make import again #WRITETITLELIST#= #WRITETITLELIST#= If it still doesn't find anything then try to go to this page and search for it manually: #WRITETITLELIST#= https://www.imdb.com/search #WRITETITLELIST#= #WRITETITLELIST#= If you could find it manually then please post a bugreport in this thread in the XMM forum: #WRITETITLELIST#= http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=772 :ENDCREATEMOVIELIST #ENDCREATEMOVIELIST# |
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 09 Jan 2024 : 19:33:04
|
Thanks
I will try it this weekend. Maybe I will find a way for recieving only real series.
Btw. the #ENDIF# after #WRITETITLELIST#=https://www.imdb.com/#06# ---> #07# §#08# is too much 3 times #IF# but 4 times #ENDIF#. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 13 Jan 2024 : 18:37:02
|
Part 1 #CREATEMOVIELIST# now is fixed. Part2 #CREATEEPISODELIST# will follow soon.
@Kipcior
#CREATEMOVIELIST#
#PUT#=0#17#
#STARTREADWEB#
#FINDLINE#=#FINDLINE#=<ul class="ipc-metadata-list#23##ONERROR#=*OK*
#IF# #23#>>#00#
#GOTO#=SERIESNOTFOUND
#ENDIF#
#STARTREADWEB#
#FINDLINE#=<div class="sc-daafffbc-0 jKMtaG">#10# #ONERROR#=*STOP*
#REPEAT#
#FIND#=div class="sc-daafffbc-0 jKMtaG">#10# #ONERROR#=*STOP*
#PUTCURSOR#=#10#
#FIND#=href="/title/#04#
#FINDPREVIOUS#=class="ipc-image"#11# #ONERROR#=*OK*
#IF# #11#<<#10#
#PUT#=#08#
#LOADCURSOR#=#10#
#GOTO#=NOCOVERPICFOUND
#ENDIF#
#FIND#=src="#04#
#FIND#="#04#
#FIND#=.jpg#05#
#FIND#="#05#
#TAKEWORD#=#08#,#04#,#05# //Coverpic
:NOCOVERPICFOUND
#FIND#= href="#04#
#FIND#="#04#
#FIND#=/?ref_=sr_t_1"#05#
#TAKEWORD#=#06#,#04#,#05# //Link
#FIND#=>#04#
#FIND#=</a>#05#
#TAKEWORD#=#07#,#04#,#05# //Title
#PUT#=0#01#
#PUT#=1#02#
:NEXTSPAN
#PUTCURSOR#=#10#
#FIND#=<div class="sc-daafffbc-0 jKMtaG">#11#
#LOADCURSOR#=#10#
#FIND#=<span class="#04#
#IF# #04#>>#11#
#LOADCURSOR#=#10#
#GOTO#=CHECKINFO
#ENDIF#
#FIND#=>#04#
#FIND#=</span>#05#
#TAKEWORD#=#09#,#04#,#05# //Info
#PUT#=TV Series#12#
#PUT#=TV Mini Series#13#
#IF# #09#==#12#
#PUT#=1#01#
#ENDIF#
#IF# #09#==#13#
#PUT#=1#01#
#ENDIF#
#STRING#=#07#=#07# (#09#)
#GOTO#=NEXTSPAN
:CHECKINFO
#IF# #01#==#02#
#CHECKVARIABLE#=#07#
#STARTSUBSTITUTETAGS#
#CLEARTAGS#
#STARTDELETETAGS#
#WRITETITLELIST#=https://www.imdb.com/#06# ---> #07# §#08#
#ENDIF#
#WHILE# #00#<>#10#
:ENDMLIST
#IF# #17#==#00#
#GOTO#=SERIESNOTFOUND
#ENDIF#
#GOTO#=ENDCREATEMOVIELIST
:SERIESNOTFOUND
// No titles were found
#WRITETITLELIST#= ~~~~~~~~ The script couldn't find any titles matching that name. ~~~~~~~~
#WRITETITLELIST#=
#WRITETITLELIST#= If you know an alternative name for this movie then you could try to enter it
#WRITETITLELIST#= again and after make import again
#WRITETITLELIST#=
#WRITETITLELIST#= If it still doesn't find anything then try to go to this page and search for it manually:
#WRITETITLELIST#= https://www.imdb.com/search
#WRITETITLELIST#=
#WRITETITLELIST#= If you could find it manually then please post a bugreport in this thread in the XMM forum:
#WRITETITLELIST#= http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=772
:ENDCREATEMOVIELIST
#ENDCREATEMOVIELIST# |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 14 Jan 2024 : 21:09:32
|
And now the full script as promised: https://www.mediafire.com/file/rm2z18naz4wn7ar/IMDB.COM_%2528TVSeries%2529_2024.txt/file
#CREATEEPIDOSELIST# is fixed, too.
I didn't have checked any of the info taken for series or episode as I don't wanna have everything in my database. So if you are missing anything I will (try to) do it.
Next up there are 2 things I will do: 1. re-add the meanwhile disabled one or two lists in the additional IMDB script as tarzibou (thanks again!) has fixed the latest changes on IMDB a few weeks ago. 2. fix the IAFD scripts as promised. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Sabry
Starting Member
Italy
9 Posts |
Posted - 07 Feb 2024 : 10:06:39
|
Hi JDommi, the episodes list doesn't appear anymore :( Could you please have a look?
Thanks |
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 07 Feb 2024 : 18:07:02
|
Once again I will have a look at the weekend. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 10 Feb 2024 : 11:36:47
|
I think IMDB will change the code sooner or later again as there is a data-testid once again in the html code. But so long you only have to modify 2 lines in the #CREATEEPISODELIST#
--------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------- Phase II --------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------
#CREATEEPISODELIST#
#WRITETITLELIST#=---- List of Episodes Found, Select ALL you want Import and Add in Database:
#PUT#=1#33#
:NEXTSEASON
#STRING#=#41#=https://www.imdb.com/title/tt#48#/episodes/?season=#33#&ref_=ttep_ep_sn_nx
#OPENWEBSLOT1#=#41#
#LOADWEBSLOT1#
#STARTREADWEB#
#PUT#=0#20#
#PUT#=0#00#
#PUT#=1#21#
#FINDLINE#=<h4 data-testid="#12# #ONERROR#=*STOP*
#RESETCURSOR#
#WRITEWARNING#=Season #33#
:REPEATCICLEEPISODES
#FIND#=<h4 data-testid="#12# #ONERROR#=*OK* |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Sabry
Starting Member
Italy
9 Posts |
Posted - 10 Feb 2024 : 11:54:22
|
Thank you JDommi, now it's ok :-) |
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 10 Feb 2024 : 19:07:32
|
Now it's still killing that the IMDB-Scraper by tarzibou doesn't work anymore
|
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Rincewindwiz
Junior Member
105 Posts |
Posted - 26 May 2024 : 20:36:09
|
XMM 9. IMDB Complete does not work any more. It cycles through the selected movie list but does nothing. It seems to search for example http://akas.imdb.com/find?s=tt&q=The+Hunger+Games and find nothing
if I paste this URL into the address bar I get Site cannot be reached Just checking, http://akas.imdb.com/ also produces site cannot be reached
|
He uses statistics as a drunk uses lampposts - for support rather than illumination |
|
|
JDommi
Administrator
Germany
4650 Posts |
Posted - 27 May 2024 : 07:21:09
|
akas.imdb.com doesn't work for about a decade Please you the latest script I have posted in the forum. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Sabry
Starting Member
Italy
9 Posts |
Posted - 06 Aug 2024 : 09:47:18
|
Hi JDommi, the script IMDB for tv series doesn't work anymore
I hope you can fix it...
Thanks |
|
|
Rincewindwiz
Junior Member
105 Posts |
Posted - 30 Aug 2024 : 12:30:01
|
quote: Originally posted by JDommi
akas.imdb.com doesn't work for about a decade Please you the latest script I have posted in the forum.
yes - sorry about that. I haven't updated for a while So I found a script on page 12 of this thread at https://www.mediafire.com/file/hl1qkaouqhc1qi4/_IMDB.COM_2023_%2528Complete%2529_5.txt/file. I downloaded it, renamed it and overwrite the existing IMDB script. When I tried it - I got a list OK but it did not limit the search to movies (so the list was full of podcasts and the like)
- Then, once I had selected the right item from the list, several movies did not import run length but most of the other fields seemed OK
I see recently there has been a load of discussion and parts of scripts posted but for idiots like me, is there a current complete IMDB script that works?
TFAI |
He uses statistics as a drunk uses lampposts - for support rather than illumination |
Edited by - Rincewindwiz on 30 Aug 2024 13:36:03 |
|
|
Kipcior
New Member
78 Posts |
Posted - 03 Sep 2024 : 20:14:53
|
Before JDommi comes back, let me share what fixed TV series list for me. Under section @CREATEMOVIELIST in the TV series script for IMDB, find these three lines (they're not one after another but all in this section):
#FINDLINE#=<div class="sc-daafffbc-0 jKMtaG">#10# #ONERROR#=*STOP*
#FIND#=div class="sc-daafffbc-0 jKMtaG">#10# #ONERROR#=*STOP*
#FIND#=<div class="sc-daafffbc-0 jKMtaG">#11#
and in these three lines, replace this string:
jKMtaG
with this string:
bGPFAy
so in the end they will look like this:
#FINDLINE#=<div class="sc-daafffbc-0 bGPFAy">#10# #ONERROR#=*STOP*
#FIND#=div class="sc-daafffbc-0 bGPFAy">#10# #ONERROR#=*STOP*
#FIND#=<div class="sc-daafffbc-0 bGPFAy">#11#
Then save the file and should work again.
This solved the problem for me with showing TV series list, which was empty - they must have modified this part on the search results list page.
I have not checked anything else, so not sure what else has broken, but changing this allowed me to import full new series of The Boys including episodes. |
|
|
Topic |
|
|