ShyAnimeGirl / ytmnd3

ytmnd scraper (updated for python3)

Home Page:http://asdf.us/ytmnd/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ytmnd3

ytmnd scraper. Updated to python3 kinda sorta

./ytmnd.py -u [username]

./ytmnd.py [domain] (IE the name of the page not the entire url, for example the page https://v55.ytmnd.com/ you would just use v55 so 'ytmnd.py v55')

Requirements

httplib simplejson wget

serving

this scraper will download the gif and mp3 from a ytmnd and write a file embedding these things in addition to zoom text (if any).

the html files use the web audio api in an attempt to get seamless looping (oddly complicated). since they download binary data, they cannot be loaded from a file:// url.. to view these files, put them online. alternatively, run python -m SimpleHTTPServer 8000 from the directory and navigate to e.g. http://lvh.me:8000/

options

flag description
--user (or -u) fetch all ytmnds for a user
--media-only only download the gif and mp3
--html-only only write an html file
--json-only writes simplified json to a file
--no-web-audio uses the tag instead of web audio
--print-json dumps raw json from ytmnd to stdout

license

This software made available under the Jollo LNT License (Leave no trace)

About

ytmnd scraper (updated for python3)

http://asdf.us/ytmnd/

License:Other


Languages

Language:Python 92.4%Language:JavaScript 7.6%