The error reporting could be better, if you give it something that isn't a channel description, such as a FTP listing or a HTML index. Currently it just looks at the "text" provided by it, and not at the URL itself.
-rw-r--r-- 1 ftp ftp 10140 Aug 04 11:55 KDE4-BASIS.ymp
-rw-r--r-- 1 ftp ftp 22852 Aug 04 11:55 KDE4-DEFAULT.ymp
-rw-r--r-- 1 ftp ftp 7691 Aug 04 11:55 KDE4-DEVEL.ymp
-rw-r--r-- 1 ftp ftp 11918 Aug 04 11:55 KDE4-GAMES.ymp
-rw-r--r-- 1 ftp ftp 313 Aug 04 11:55 KDE:KDE4:Factory:Desktop.repo
drwxr-xr-x 2 ftp ftp 73728 Aug 04 11:52 i586
drwxr-xr-x 2 ftp ftp 4096 Aug 04 11:52 ia64
drwxr-xr-x 2 ftp ftp 20480 Aug 04 11:52 noarch
drwxr-xr-x 2 ftp ftp 150 Aug 04 11:55 repodata
drwxr-xr-x 2 ftp ftp 16384 Aug 04 11:52 src
drwxr-xr-x 2 ftp ftp 81920 Aug 04 11:52 x86_64
The error reporting could be better, if you give it something that isn't a channel description, such as a FTP listing or a HTML index. Currently it just looks at the "text" provided by it, and not at the URL itself.
-rw-r--r-- 1 ftp ftp 10140 Aug 04 11:55 KDE4-BASIS.ymp Factory: Desktop. repo
-rw-r--r-- 1 ftp ftp 22852 Aug 04 11:55 KDE4-DEFAULT.ymp
-rw-r--r-- 1 ftp ftp 7691 Aug 04 11:55 KDE4-DEVEL.ymp
-rw-r--r-- 1 ftp ftp 11918 Aug 04 11:55 KDE4-GAMES.ymp
-rw-r--r-- 1 ftp ftp 313 Aug 04 11:55 KDE:KDE4:
drwxr-xr-x 2 ftp ftp 73728 Aug 04 11:52 i586
drwxr-xr-x 2 ftp ftp 4096 Aug 04 11:52 ia64
drwxr-xr-x 2 ftp ftp 20480 Aug 04 11:52 noarch
drwxr-xr-x 2 ftp ftp 150 Aug 04 11:55 repodata
drwxr-xr-x 2 ftp ftp 16384 Aug 04 11:52 src
drwxr-xr-x 2 ftp ftp 81920 Aug 04 11:52 x86_64