Move thank you message into the pushshift module itself.
This commit is contained in:
parent
0aa1ad1596
commit
55d9c064bd
3 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,7 @@ import traceback
|
||||||
|
|
||||||
from . import common
|
from . import common
|
||||||
from . import exceptions
|
from . import exceptions
|
||||||
from . import pushshift; print('Thank you Jason Baumgartner, owner of Pushshift.io!')
|
from . import pushshift
|
||||||
from . import tsdb
|
from . import tsdb
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import traceback
|
||||||
|
|
||||||
from . import common
|
from . import common
|
||||||
from . import exceptions
|
from . import exceptions
|
||||||
from . import pushshift; print('Thank you Jason Baumgartner, owner of Pushshift.io!')
|
from . import pushshift
|
||||||
from . import tsdb
|
from . import tsdb
|
||||||
|
|
||||||
def _normalize_subreddit(subreddit):
|
def _normalize_subreddit(subreddit):
|
||||||
|
|
|
@ -16,6 +16,7 @@ from . import common
|
||||||
|
|
||||||
from voussoirkit import ratelimiter
|
from voussoirkit import ratelimiter
|
||||||
|
|
||||||
|
print('Thank you Jason Baumgartner of Pushshift.io!')
|
||||||
|
|
||||||
USERAGENT = 'Timesearch ({version}) ({contact})'
|
USERAGENT = 'Timesearch ({version}) ({contact})'
|
||||||
API_URL = 'https://api.pushshift.io/reddit/'
|
API_URL = 'https://api.pushshift.io/reddit/'
|
||||||
|
|
Loading…
Reference in a new issue