#!/bin/bash

# index of the content on http://www.filmweb.pl

for file in *.jpg
do
    file=`echo $file | sed 's#.jpg##'`
    type=`head -n 1 $file | sed 's#.*www.filmweb.pl/##;s#/.*##'`
    echo "$file $type"
done
