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 time | |
import urllib.request | |
import xml.etree.ElementTree as ET | |
from requests_oauthlib import OAuth1Session | |
# RSSフィードのURI | |
feeduri = "http://nakazye.hatenablog.com/feed" | |
# はてブカウント用ののURI | |
htbcounturi = "http://api.b.st-hatena.com/entry.count?url=" |
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 time | |
import urllib.request | |
import xml.etree.ElementTree as ET | |
from requests_oauthlib import OAuth1Session | |
from datetime import datetime | |
# RSSフィードのURI | |
feeduri = "http://nakazye.hatenablog.com/feed" | |
# はてブカウント用ののURI |