Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Scripts to tweet DYK hooks.

NotificationsYou must be signed in to change notification settings

srikanthlogic/WikipediaDYKTweeter

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp