File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 55Example usage:
66utils/source.py tweets.jsonl > sources.html
77"""
8- from __future__ import print_function
98import json
109import fileinput
1110from collections import defaultdict
5554
5655 <header>
5756 <h1>Twitter client sources</h1>
58- <em>created on the command line with <a href="http ://github.com/edsu /twarc">twarc</a></em>
57+ <em>created on the command line with <a href="https ://github.com/DocNow /twarc">twarc</a></em>
5958 </header>
6059
6160 <table>
6261""" )
6362
6463for source in sumsort :
65- print ('<tr><td>{}</td><td>{}</td></tr>' .format (source . encode ( 'utf-8' ) , summary [source ]))
64+ print ('<tr><td>{}</td><td>{}</td></tr>' .format (source , summary [source ]))
6665print ("""
6766
6867
7170<footer id="page">
7271<hr>
7372<br>
74- created on the command line with <a href="http ://github.com/edsu /twarc">twarc</a>.
73+ created on the command line with <a href="https ://github.com/DocNow /twarc">twarc</a>.
7574<br>
7675<br>
7776</footer>
You can’t perform that action at this time.
0 commit comments