It's cleaner and more stable to parse the package list at https://aur.archlinux.org/packages.gz than to fetch the list from the web interface.