English
Includes

IMBD request

 

Normann
Strübli
Hallöchen,

have time from langeweile started a IMDB (internet Movie Database) parser To write.

I wanted to the with my Mediacenter with new eingelegter DVD The data base quizzed becomes, one between
whom Ergebnissen select can and the Program then a suitable Ordner prepares circa
The Files there into To copy.

the whole is yet really primitiv held, in the moment go too similar Filmtitel sought and
displayed. the whole becomes yet extended, würd me only interested whether it with you so far working.

or time quite different demand - knows jmd. another (elegantere)Possibility such a thing abzufragen - then
could I me The work save...

The View source is too not yet sooo beautiful (must to the long interval first again reinkommen )
Declare film$,imdb_url$,imdb_data$
Declare pos1&,pos2&,cover$,name$
Declare found&,string$
CLS
Film$ = @Input$("Filmtitel eingeben","Imdb Suche","")

If film$ <> ""

    imdb_url$ = "https://www.imdb.de/find?s=tt&q=" + film$

else

    end

endif

@downloadfile(imdb_url$)

while %Loading

endwhile

if @instr("Keine Treffer", $Download)

    print "Nichts gefunden"

elseif @instr("teilweise hits gefunden", $Download)

    print "Zu many Treffer"

else

    pos1& = @InStr("Ergebnis", $Download)
    found& = @Val(@Mid$($Download,pos1& - 2,2))   How many found
    print found& + " Treffer"
    print ""
    string$ = @SUBSTR$(@Right$($Download, @len($Download) - pos1&),1,"/table")

    whileloop found&

        pos2& = @InStr("href=q/title/", string$)
        cover$ =  @Mid$(string$,pos2& + 13,9)
        name$ = @SUBSTR$(@Mid$(string$,@InStr(cover$+ "/q>" , String$) + 12,50),1,"<")
        Deutsche Sonderzeichen - and Umlaute bring into action
        string$ = @Right$(string$, @len(string $) - @InStr(name$, string$))
        name$ = @Translate$(name$,"ß","ß")
        name$ = @Translate$(name$,"Ä","Ä")
        name$ = @Translate$(name$,"ä","ä")
        name$ = @Translate$(name$,"ü","ü")
        name$ = @Translate$(name$,"Ü","Ü")
        name$ = @Translate$(name$,"ö","ö")
        name$ = @Translate$(name$,"Ö","Ö")
        print cover$ + " >" + name$
        dec found&

    endwhile

endif

waitinput
end
 
12/02/08  
 



this is Yes a class thing!

I give Terminator one, and sustain immediate 4 Filmtitel!

functions, but not yet on the Source geschielt...
 
12/02/08  
 




Rolf
Koch
Jo correct.
Dawn of Dead 2 hits
Rocky = Very many hits
 
12/02/08  
 



Normann Strübli
or time quite different demand - knows jmd. another (elegantere)Possibility such a thing abzufragen - then
could I me The work save...


let itself that here  [...]  benefit?
 
12/03/08  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.987 Views

Untitledvor 0 min.
Gast.081509/12/24
H.Brill01/06/24
Manfred Barei03/28/20
p.specht03/27/20
More...

Themeninformationen

this Topic has 3 subscriber:

iF (2x)
Rolf Koch (1x)
Normann Strübli (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie