This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, os | |
from lxml import etree | |
''' | |
USAGE: python blogger2octopress.py blogger_dump.xml | |
Then check the _drafts and _posts folders. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from github import Github | |
''' | |
pip install PyGithub | |
https://pygithub.readthedocs.io/en/latest | |
''' | |
#ACCESS_TOKEN="xxx" | |
ACCESS_TOKEN=None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python36 | |
import sys | |
import os | |
import argparse | |
import time | |
import logging | |
import json | |
def main(): |