mirror of
https://github.com/zhigang1992/uber-cities.git
synced 2026-04-14 12:13:59 +08:00
74 lines
1.5 KiB
JavaScript
74 lines
1.5 KiB
JavaScript
// const scrape = require('./getData')
|
|
|
|
// // uber
|
|
// const getUber = async () =>
|
|
// await scrape({
|
|
// url: 'https://www.uber.com/en-GB/cities/',
|
|
// selector: 'h3 + div a',
|
|
// company: 'uber',
|
|
// })
|
|
|
|
// getUber()
|
|
|
|
// // cabify
|
|
// const getCabify = async () =>
|
|
// await scrape({
|
|
// url: 'https://cabify.com/en#cities-list',
|
|
// selector: '.countries-list--cities li a',
|
|
// company: 'cabify',
|
|
// })
|
|
|
|
// getCabify()
|
|
|
|
// // lyft
|
|
// const getLyft = async () =>
|
|
// await scrape({
|
|
// url: 'https://www.lyft.com/cities',
|
|
// selector: 'h6 + button + ul li a',
|
|
// company: 'lyft',
|
|
// })
|
|
|
|
// getLyft()
|
|
|
|
// // taxify
|
|
// const getTaxify = async () =>
|
|
// await scrape({
|
|
// url: 'https://taxify.eu/cities/',
|
|
// selector: '.list-inline li h4',
|
|
// company: 'taxify',
|
|
// })
|
|
|
|
// getTaxify()
|
|
|
|
// // Grab
|
|
|
|
// const getGrab = async () =>
|
|
// await scrape({
|
|
// url: 'https://www.grab.com/sg/where-we-are/',
|
|
// selector: '.city',
|
|
// company: 'grab',
|
|
// })
|
|
|
|
// getGrab()
|
|
|
|
// // GO JEK
|
|
// const getGo = async () =>
|
|
// await scrape({
|
|
// url:
|
|
// 'https://www.go-jek.com/faq/layanan/go-car/#di-kota-manakah-go-car-tersedia',
|
|
// selector: '#in-which-cities-can-i-order-a-car ol li',
|
|
// company: 'go-JEK',
|
|
// })
|
|
|
|
// getGo()
|
|
|
|
// Blacklane
|
|
|
|
// const getBl = async () =>
|
|
// await await scrape({
|
|
// url: 'https://www.blacklane.com/en/cities',
|
|
// selector: '.city-link-box a',
|
|
// company: 'blacklane',
|
|
// })
|
|
// getBl()
|