All Projects → badoux → Goscraper

badoux / Goscraper

Licence: mit
Golang pkg to quickly return a preview of a webpage (title/description/images)

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Goscraper

urlbox-screenshots-node
Capture website thumbnails using the urlbox.io screenshot as a service API in node
Stars: ✭ 14 (-80.56%)
Mutual labels:  website, webpage, preview, page
Swiftlinkpreview
It makes a preview from an URL, grabbing all the information such as title, relevant texts and images.
Stars: ✭ 1,216 (+1588.89%)
Mutual labels:  crawler, url, preview, website
Youtube Projects
This repository contains all the code I use in my YouTube tutorials.
Stars: ✭ 144 (+100%)
Mutual labels:  crawler, scraper, website
Bludit
Simple, Fast, Secure, Flat-File CMS
Stars: ✭ 824 (+1044.44%)
Mutual labels:  engine, website
React Zmage
一个基于 React 的可缩放图片控件 | A scalable image wrapper power by react
Stars: ✭ 713 (+890.28%)
Mutual labels:  image, website
Crawler
A high performance web crawler in Elixir.
Stars: ✭ 781 (+984.72%)
Mutual labels:  crawler, scraper
Scrapyrt
HTTP API for Scrapy spiders
Stars: ✭ 637 (+784.72%)
Mutual labels:  crawler, scraper
Vue Picture Input
Mobile-friendly picture file input Vue.js component with image preview, drag and drop, EXIF orientation, and more
Stars: ✭ 862 (+1097.22%)
Mutual labels:  image, preview
V Photoswipe
Vue plugin for image preview base on PhotoSwipe
Stars: ✭ 25 (-65.28%)
Mutual labels:  image, preview
Disec
Distributed Image Search Engine Crawler
Stars: ✭ 11 (-84.72%)
Mutual labels:  crawler, image
Ruby Gem Downloads Badge
Clean and simple gem downloads count badge, courtesy of http://shields.io/. You can checkout the application directly at the following URL:
Stars: ✭ 29 (-59.72%)
Mutual labels:  image, icon
Sakurakit
🤡SakuraKit, a lightweight and powerful library for application to switching themes or skins.
Stars: ✭ 682 (+847.22%)
Mutual labels:  image, icon
Spidr
A versatile Ruby web spidering library that can spider a site, multiple domains, certain links or infinitely. Spidr is designed to be fast and easy to use.
Stars: ✭ 656 (+811.11%)
Mutual labels:  crawler, scraper
Lulu
[Unmaintained] A simple and clean video/music/image downloader 👾
Stars: ✭ 789 (+995.83%)
Mutual labels:  crawler, scraper
Vue Preview
A Vue Integrated PhotoSwipe Image Preview Plugin
Stars: ✭ 639 (+787.5%)
Mutual labels:  image, preview
Scrapit
Scraping scripts for various websites.
Stars: ✭ 25 (-65.28%)
Mutual labels:  crawler, scraper
Spimedb
EXPLORE & EDIT REALITY
Stars: ✭ 14 (-80.56%)
Mutual labels:  engine, website
Avbook
AV 电影管理系统, avmoo , javbus , javlibrary 爬虫,线上 AV 影片图书馆,AV 磁力链接数据库,Japanese Adult Video Library,Adult Video Magnet Links - Japanese Adult Video Database
Stars: ✭ 8,133 (+11195.83%)
Mutual labels:  crawler, scraper
Social Scraper
Tổng hợp script crawl dữ liệu từ các mạng xã hội & website tiếng Việt
Stars: ✭ 47 (-34.72%)
Mutual labels:  crawler, scraper
Fbcrawl
A Facebook crawler
Stars: ✭ 536 (+644.44%)
Mutual labels:  crawler, scraper

goscraper

Golang package to quickly return a preview of a webpage, you can get easily its title, description & images

Usage

func main() {
	s, err := goscraper.Scrape("https://www.w3.org/", 5)
	if err != nil {
		fmt.Println(err)
		return
	}
	fmt.Printf("Icon : %s\n", s.Preview.Icon)
	fmt.Printf("Name : %s\n", s.Preview.Name)
	fmt.Printf("Title : %s\n", s.Preview.Title)
	fmt.Printf("Description : %s\n", s.Preview.Description)
	fmt.Printf("Image: %s\n", s.Preview.Images[0])
	fmt.Printf("Url : %s\n", s.Preview.Link)
}

output:

Icon : https://www.w3.org/favicon.ico
Name : www.w3.org
Title : World Wide Web Consortium (W3C)
Description : The World Wide Web Consortium (W3C) is an international community where Member organizations, a full-time staff, and the public work together to develop Web standards.
Image: https://www.w3.org/2008/site/images/logo-w3c-mobile-lg
Url : https://www.w3.org/

License

Goscraper is licensed under the MIT License.

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].