How to extract thumbnail of a website in Java? - java

I want to extract thumbnail of a website using java.javascript or jquery but not using PHP or .Net.Can I do it because i Surfed on Google and they show that this can only be possible using Java.I have an input box where user will enter the website and I want to show the thumbnail of a website in the div?Is there an plugin or API through which I can do it?

To get the thumbnail of a website using Java you can use this free API
http://free.pagepeeker.com/v2/thumbs.php?size=x&url=google.com
Just replace google with your respective link and you will get the thumbnail of your respective website.

Related

Need help to scrape video streaming url from websites for android app

Hi I need to scrape video streaming urls from website
https://afdah.to
https://flixanity.xyz
http://streamm4u.com
I am using jsoup to extract the website content .However I have no idea how can I get the video streaming link from these websites.I tried reading their source code but couldn't find something.

Open online document with Google Docs

Does Google provides any API for open the online document(.docx) with Google Docs? if yes any materials that I can refer to? My idea is client can upload the document to the website then it can open and edit it by using Google Docs instead of download it and open with installed software.
Google drive has a REST API
the article on their site
You will be able to upload / edit files from the user and the user will be able to open them but I don't know if you can force open a document.
And if you use this API it would require the user to login in which may or may not be something you want.
Or you could have a look at google picker (found om the same link)
Create and open files using the Google Picker
Drive files can be opened from an application independently of the
Drive UI. An application can easily fetch and display a list of files
with the Google Picker as described in Open files using the Google
Picker.
Anyway: Do some more research on their site, you will probably get it done with Google Picker

How to upload an image on eBay via Selenium

I'm trying to automate listings on eBay (I know I can use API but I prefer doing it with Selenium) but I'm stuck trying to upload an image to eBay.
The URL I am viewing is:
http://cgi5.ebay.com/ws/eBayISAPI.dll?LikeThisListing&cpg=20&aid=1&from=wn&sid=475543545921&itemid=290714408232&cat1=43537
You can replace 475543545921 with any item number. You'll need to login to your account to view this page I believe.
You can upload images by clicking on "Add/edit photos" or "Click to add photos"
Using the following syntax does not work:
WebElement fileInput = driver.findElement(By.xpath(".//*[#id='ID']"));
fileInput.sendKeys("C:\\PATH");
Does anyone know how I could upload images on eBay aside from using their API?

Retrieve an image from my database sqlite

I store images type TEXT which contains the URL of this image in my SQLite database, I want to get in my application in android these images and then display it on buttons
i just want to know how can i do it, some suggestion please
Since you fist need to download the images, I suggest you google for something like "android load images" or "android download images". You will find many good tutorials and libraries.

how to insert data into google spreadsheet from html forms using java?

I am having HTML pages. when i click on the button the form data will be inserted into the Google spreadsheet using eithe java/javascript.
can i use any API's please provide me some tutorial
Google provide decent documentation for their APIs

Categories

Resources