All Projects → jodevsa → subscene_scraper

jodevsa / subscene_scraper

Licence: other
Library to download subtitles from subscene.com

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to subscene scraper

torchestrator
Spin up Tor containers and then proxy HTTP requests via these Tor instances
Stars: ✭ 32 (+128.57%)
Mutual labels:  scraping
chesf
CHeSF is the Chrome Headless Scraping Framework, a very very alpha code to scrape javascript intensive web pages
Stars: ✭ 18 (+28.57%)
Mutual labels:  scraping
proxi
Proxy pool. Finds and checks proxies with rest api for querying results. Can find over 25k proxies in under 5 minutes.
Stars: ✭ 32 (+128.57%)
Mutual labels:  scraping
sg-food-ml
This script is used to scrap images from the Internet to classify 5 common noodle "mee" dishes in Singapore. Wanton Mee, Bak Chor Mee, Lor Mee, Prawn Mee and Mee Siam.
Stars: ✭ 18 (+28.57%)
Mutual labels:  scraping
Elgindy-VTT-to-SRT-Subtitle-Converter
A tool for converting Web Video Text Tracks Format (WebVTT) subtitle to srt one. As most of video players support srt subtitles and can't open vtt subtitles, We should convert vtt to srt or sub subtitles but it's not easy to do that.
Stars: ✭ 68 (+385.71%)
Mutual labels:  subtitles
gunaydin
Your good mornings ☀️
Stars: ✭ 16 (+14.29%)
Mutual labels:  scraping
scavenger
Scrape and take screenshots of dynamic and static webpages
Stars: ✭ 14 (+0%)
Mutual labels:  scraping
Captcha-Tools
All-in-one Python (And now Go!) module to help solve captchas with Capmonster, 2captcha and Anticaptcha API's!
Stars: ✭ 23 (+64.29%)
Mutual labels:  scraping
go-scrapy
Web crawling and scraping framework for Golang
Stars: ✭ 17 (+21.43%)
Mutual labels:  scraping
internet-affordability
🌍 Dataset that shows the Internet affordability by country (a shocking reality!)
Stars: ✭ 13 (-7.14%)
Mutual labels:  scraping
ogpParser
Open Graph Protocol Parser for Node.js
Stars: ✭ 43 (+207.14%)
Mutual labels:  scraping
rubium
Rubium is a lightweight alternative to Selenium/Capybara/Watir if you need to perform some operations (like web scraping) using Headless Chromium and Ruby
Stars: ✭ 65 (+364.29%)
Mutual labels:  scraping
scrapy-distributed
A series of distributed components for Scrapy. Including RabbitMQ-based components, Kafka-based components, and RedisBloom-based components for Scrapy.
Stars: ✭ 38 (+171.43%)
Mutual labels:  scraping
angel.co-companies-list-scraping
No description or website provided.
Stars: ✭ 54 (+285.71%)
Mutual labels:  scraping
ferenda
Transform unstructured document collections to structured Linked Data
Stars: ✭ 22 (+57.14%)
Mutual labels:  scraping
browser-pool
A Node.js library to easily manage and rotate a pool of web browsers, using any of the popular browser automation libraries like Puppeteer, Playwright, or SecretAgent.
Stars: ✭ 71 (+407.14%)
Mutual labels:  scraping
document-dl
Command line program to download documents from web portals.
Stars: ✭ 14 (+0%)
Mutual labels:  scraping
feedsearch-crawler
Crawl sites for RSS, Atom, and JSON feeds.
Stars: ✭ 23 (+64.29%)
Mutual labels:  scraping
stagedisplayviewer
Stage display viewer in java for propresenter
Stars: ✭ 30 (+114.29%)
Mutual labels:  subtitles
koustMoviePlayer
koustMoviePlayer is similar netflix player. Almost , available all features on koustMoviePlayer
Stars: ✭ 17 (+21.43%)
Mutual labels:  subtitles

Project Name

subscene_scraper

asciicast subd command

changelog v1.3.5

re-written in ES7

fixed various bugs.

Installation

npm install subscene_scraper --save

Usage:

example(1)

download a subtitle for a movie in our current working directory

code:

var subscene_scraper=require('subscene_scraper');

// for example we will download the subtitle file at current working directory
var path=process.cwd();

//all languages supported by subscene.com are now supported.

subscene_scraper.passiveDownloader('interstellar','english',path)
.then(function(savedFiles){
    console.log('subtitle saved to ',savedFiles);    
})
.catch(function(err){
console.log('error:',err);
});

example(2)

Interactive downloader
//title subtiles have 2 steps (1) chooseTitle (2) chooseRelease
// release subtitles have 1 step (1) chooseRelease
// you'll have to implement chooseTitleSubtitle,chooseReleaseSubtitle functions.
var subscene_scraper=require('subscene_scraper');
var interactiveDownloader=subscene_scraper.interactiveDownloader;
const downloader = interactiveDownloader(movieName, language, saveLocation);
downloader.on('info', async (info, choose) => {
  if (info.type === 'title') {
    // type === 'title'
    // chooseTitle (1)
    /// choose subtitle from info.result
    const result = choose(chooseTitleSubtitle(info.result));
    choose(result);
  } else {
    /// type === 'release'
    // chooseRelease (1)
    /// choose subtitle from info.result
    choose(chooseReleaseSubtitle(info.result));
  }
}).on('title', async (list, choose) => {
  // chooseRelease (2)
  const result = chooseReleaseSubtitle(list);
  choose(result);
}).on('done', (result, movieName) => {
  console.log('Downloaded Subtitle at', result)
})
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].