File tree Expand file tree Collapse file tree 2 files changed +19
-12
lines changed
Expand file tree Collapse file tree 2 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 22
33import requests
44
5- API_URL = "https://api.loading.se"
6- API_VERSION = "v1"
7- USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
8- EDITORIAL_POST_TYPES = [
9- "neRegular" ,
10- "review" ,
11- "opinion" ,
12- "update" ,
13- "podcast" ,
14- "conversation" ,
15- ]
16- EDITORIAL_SORT = ["title" ]
5+ from loading_api_wrapper .settings import (
6+ API_URL ,
7+ API_VERSION ,
8+ EDITORIAL_POST_TYPES ,
9+ EDITORIAL_SORT ,
10+ USER_AGENT ,
11+ )
1712
1813
1914class LoadingApiWrapper :
Original file line number Diff line number Diff line change 1+ API_URL = "https://api.loading.se"
2+ API_VERSION = "v1"
3+ USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0"
4+ EDITORIAL_SORT = ["title" ]
5+ EDITORIAL_POST_TYPES = [
6+ "neRegular" ,
7+ "review" ,
8+ "opinion" ,
9+ "update" ,
10+ "podcast" ,
11+ "conversation" ,
12+ ]
You can’t perform that action at this time.
0 commit comments