I've just come across this way of running Webgrab on Android in a Termux session. I don't know how viable it would be but it would be nice to run Webgrab on the same device as Kodi.
Mono in the Android Termux app via pacman and Arch Linux:
https://github.com/termux/termux-packages/issues/40#issuecomment-348071056
[EDIT]
I just tried it and it works. The dummy channel default creates a guide.xml.
It installs a lot of packages and it's not exactly user friendly but it does work.
If you don't like typing on your phone I would recommend installing the sshd server in Termux and logging in from elsewhere.
How did you do that? I installed Termux, arch and mono. But can't install or run webgrab. Permission denied!
I can't remember now but Android has kept increasing restrictions on where you can run programs from. So unzip the linux webgrab distribution somewhere in the termux arch path where other similar programs live and change the user and group of all the files to the same as termux's. The install.sh file doesn't do too much so you should be able to manually just copy the folders to their destination if necessary.
you need to be root or create a superuser if you get permission denied.
I copied the files and executed run.sh but nothing happens. I see only the welcome text with version info.
My goal is to completely replace my pi with the shield tv. I have tvheadend backend and kodi with tvh frontend running now. To grab epg for tvheadend I use the raspberry.
I wouldn't rely on an Android device for webgrab. Android has a habit of stopping background tasks when you don't want it too. I've tried using my Shield instead of a dedicated server and it was very unreliable. I've settled on using an old laptop as a media server with tvheadend, webgrab, jellyfin and other assorted video grabbers. I just use the Shield as a fast front end.
I have no problems running tvheadend on the Shield. And the webgrab process takes maybe 30 minutes on the pi.
If only I could test it...
Carefully check ownership, permissions and paths of every file in the webgrab distribution.