StringRegExp !
Wenn .mp3 drinne ist -> Mp3 Datei !
Ich würde das mit einer While und einer Konfigurationsdatei machen !
Also (in etwa) so:
[autoit]
While 1
$read = Filereadline("config.txt")
$regexp = StringRegExp($downloadurl,$read)
If $regexp = 1 Then
$filetyp = $read
exitloop
Endif
Wend