public static void StartH(string url, string manga, bool navegador, string path) { try { if (navegador) { ViaSelenium.StartProcessH(url, manga, path); } else { ViaCrawler.StartProcessH(url, manga, path); } } catch (Exception e) { throw e; } }
public static void Start(string url, string manga, bool navegador, int capitulo, int volume, string path, int volNumber) { try { if (navegador) { ViaSelenium.StartProcess(url, manga, capitulo, volume, path, volNumber); } else { ViaCrawler.StartProcess(url, manga, capitulo, volume, path, volNumber); } } catch (Exception e) { throw e; } }