Skip to content
This repository

Scripts to tweet DYK hooks.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 dyk
Octocat-spinner-32 .gitignore
Octocat-spinner-32 DYKList.txt
Octocat-spinner-32 README.txt
Octocat-spinner-32 config.ini.sample
Octocat-spinner-32 source.txt
WikipediaDYKTweeter This script aims to populate DYK hooks by scrapping them from the talk page of DYK articles outputs to a csv file.  This script reads from Google docs spreadsheet where Tweet queue is maintained, creates short  URLs using and posts the tweet to twitter

1. Python 2.6 with mwclient ( ) 
2. source.txt containing list of DYK articles which can be obtained by CatScan like tools. ( )
3. Python modules of tweepy,bitlyapi,GDataSpreadsheet API, ElementTree

1. $python /path/to/sourceList.txt /path/to/OutputFile.txt
2. Upload the Outputfile into Google Docs maintaining the same format as in
3. Modify config.ini with required details
4. $python

1. Make it more configurable.
	a. Spreadsheet ID, Worksheet ID must be written to config file by seperate script
	b. Column definitions should be customizable and be configurable
2. Enable logging
3. Make the DYKHookScrapper more comprehensive covering all present patterns
4. Support
Something went wrong with that request. Please try again.