Skip to content

scrape2playlist - scrapes a dg 6um thread, then adds those videos to a youtube playlist. For music threads.

Notifications You must be signed in to change notification settings

ggNovelty/scrape2playlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[dg] - DigitalGangster.com

** must edit cfg.py before running **

dg_scrape2playlist - for dg's 6um. Turning music threads into youtube playlists.

Three files:

dg_yt_scraper.py - iterates through a 6um thread, capturing every posted youtube video url.

strip_dupes.py - optional. strips dupes from the list generated above.

yt_playlist_creator.py - after manually creating a youtube playlist, this program will automatically add videos from a list to that playlist. takes about 15 seconds per video, can take a while.

Notes:

yt_playlist_creator will occasionally raise an exception (error out). I seemed to get this every 100 videos or so, I think it was due to the page occasionally taking too long to load. You will have to manually remove urls from the url list, then restart the program. Sorry!

Written with python3.

6um runs on discourse forum software, this should work on similar boards as well.

Thanks for looking.

About

scrape2playlist - scrapes a dg 6um thread, then adds those videos to a youtube playlist. For music threads.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages