All Projects → daandtu → Android-Web-Scraper

daandtu / Android-Web-Scraper

Licence: Apache-2.0 license
Android Web Scraper is a simple library for android web automation. You can perform web task in background to fetch website data programmatically.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Android-Web-Scraper

Autoscraper
A Smart, Automatic, Fast and Lightweight Web Scraper for Python
Stars: ✭ 4,077 (+10628.95%)
Mutual labels:  webscraping, webautomation
VideoRecognition-realtime-autotrainer-alerts
State of the art object detection in real-time using YOLOV3 algorithm. Augmented with a process that allows easy training of the classifier as a plug & play solution . Provides alert if an item in an alert list is detected.
Stars: ✭ 36 (-5.26%)
Mutual labels:  webscraping
LInkedIn-Reverese-Lookup
🔎Search LinkedIn profile by email address📧
Stars: ✭ 20 (-47.37%)
Mutual labels:  webautomation
PacPaw
Pawn package manager for SA-MP
Stars: ✭ 14 (-63.16%)
Mutual labels:  webscraping
browser-automation-api
Browser automation API for repetitive web-based tasks, with a friendly user interface. You can use it to scrape content or do many other things like capture a screenshot, generate pdf, extract content or execute custom Puppeteer, Playwright functions.
Stars: ✭ 24 (-36.84%)
Mutual labels:  webscraping
requestsR
R interface to Python requests module
Stars: ✭ 12 (-68.42%)
Mutual labels:  webscraping
Youtube-Scraping-Selenium
Automatically creates a Youtube channel dashboard
Stars: ✭ 21 (-44.74%)
Mutual labels:  webscraping
ir
Projeto de calculo de Imposto de Renda em operacoes na bovespa automaticamente. Tags:canal eletronico do investidor, CEI, selenium, bovespa, IRPF, IR, imposto de renda, finance, yahoo finance, acao, fii, etf, python, crawler, webscraping, calculadora ir
Stars: ✭ 120 (+215.79%)
Mutual labels:  webscraping
web-scraping-101
An Introduction to Web Scraping
Stars: ✭ 13 (-65.79%)
Mutual labels:  webscraping
Catalyst
A VS code Extension to accelerate the process of solving problems on Codeforces.
Stars: ✭ 69 (+81.58%)
Mutual labels:  webscraping
ebayMarketAnalyzer
Scrape all eBay sold listings to determine average/median pricing, plot listings over time with trend lines, and extract to excel
Stars: ✭ 116 (+205.26%)
Mutual labels:  webscraping
CourseDownloader
GUI app for downloading whole online courses with folder structure from one url
Stars: ✭ 20 (-47.37%)
Mutual labels:  webscraping
extractnet
A Dragnet that also extract author, headline, date, keywords from context
Stars: ✭ 52 (+36.84%)
Mutual labels:  webscraping
robotstxt
robots.txt file parsing and checking for R
Stars: ✭ 65 (+71.05%)
Mutual labels:  webscraping
supervised-machine-learning
This repo contains regression and classification projects. Examples: development of predictive models for comments on social media websites; building classifiers to predict outcomes in sports competitions; churn analysis; prediction of clicks on online ads; analysis of the opioids crisis and an analysis of retail store expansion strategies using…
Stars: ✭ 34 (-10.53%)
Mutual labels:  webscraping
non-api-fb-scraper
Scrape public FaceBook posts from any group or user into a .csv file without needing to register for any API access
Stars: ✭ 40 (+5.26%)
Mutual labels:  webscraping
gotor
This program provides efficient web scraping services for Tor and non-Tor sites. The program has both a CLI and REST API.
Stars: ✭ 97 (+155.26%)
Mutual labels:  webscraping
Email-Crawler-Lead-Generator
This email crawler will visit all pages of a provided website and parse and save emails found to a csv file.
Stars: ✭ 47 (+23.68%)
Mutual labels:  webscraping
blog.brasil.io
Blog do Brasil.IO
Stars: ✭ 24 (-36.84%)
Mutual labels:  webscraping
chesf
CHeSF is the Chrome Headless Scraping Framework, a very very alpha code to scrape javascript intensive web pages
Stars: ✭ 18 (-52.63%)
Mutual labels:  webscraping

android-web-scraper

Android Web Scraper is a simple library for android web automation. You can perform web task in background to fetch website data programmatically.

Setup

The project is hosted on jCenter. Add the following to your dependencies:

implementation 'com.daandtu:android-web-scraper:1.0.1'

Add internet permission to AndroidManifest.xml:

<uses-permission android:name="android.permission.INTERNET"/>

Sample usage

Initialisation:

WebScraper webScraper = new WebScraper(this);
webScraper.setUserAgentToDesktop(true); //default: false
webScraper.setLoadImages(true); //default: false
webScraper.loadURL("https://www.github.com/");

If you want to see the browser automation in action:

layout.addView(webScraper.getView());

Interact with webpage elements:

Element el1 = webScraper.findElementByXpath("//*[@id=\"search\"]");
Element el2 = webScraper.findElementByName("img",3);
el1.setText("Android");
el2.click();
Element el3 = webScraper.findElementById("result");
String result = el3.getValue();

Setup OnPageLoadedListener:

webScraper.setOnPageLoadedListener(new WebScraper.onPageLoadedListener() {
            @Override
            public void loaded(String URL) {
                //TODO
            }
        });

Other methods:

Bitmap screenshot = webScraper.takeScreenshot(); //Pay attention with big webpages or use
Bitmap screenshot2 = webScraper.takeScreenshot(500,MAX);

String title = webScraper.getWebsiteTitle();

String html = webScraper.getHtml();

webScraper.clearHistory();
webScraper.clearCache();
webScraper.clearCookies();
webScraper.clearAll(); //Clear history, cache and cookies

webScraper.reload();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].