This repository was archived by the owner on Nov 12, 2022. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork2
Scripts to tweet DYK hooks.
NotificationsYou must be signed in to change notification settings
srikanthlogic/WikipediaDYKTweeter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
WikipediaDYKTweeterDYKHookScrapper.py:- This script aims to populate DYK hooks by scrapping them from the talk page of DYK articles outputs to a csv file.WikiDYKTweeter.py:- This script reads from Google docs spreadsheet where Tweet queue is maintained, creates short URLs using bit.ly and posts the tweet to twitterPrerequisites:1. Python 2.6 with mwclient (http://mwclient.sourceforge.net ) 2. source.txt containing list of DYK articles which can be obtained by CatScan like tools. (http://toolserver.org/~magnus/catscan_rewrite.php )3. Python modules of tweepy,bitlyapi,GDataSpreadsheet API, ElementTreeUsage:1. $python DYKHookScrapper.py /path/to/sourceList.txt /path/to/OutputFile.txt2. Upload the Outputfile into Google Docs maintaining the same format as inhttp://bit.ly/WikiDYKTweeterFormat3. Modify config.ini with required details4. $python WikiDYKTweeter.pyTODO:1. Make it more configurable.a. Spreadsheet ID, Worksheet ID must be written to config file by seperate scriptb. Column definitions should be customizable and be configurable2. Enable logging3. Make the DYKHookScrapper more comprehensive covering all present patterns4. Support Identi.ca
About
Scripts to tweet DYK hooks.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published