Skip to content

Commit a1fab4a

Browse files
committed
Add support for lolibooru
1 parent 2949a55 commit a1fab4a

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Pybooru - Changelog
22

3+
## Pybooru 4.2.0 - (unreleased)
4+
5+
- Add support for Lolibooru
6+
37
## Pybooru 4.1.0 - (2017-02-08)
48
- Pybooru: refactored `_get_status()`
59
- Python 3.6 support

docs/source/quick_start_guide.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,4 @@ Pybooru has a list of default sites that allow you to use Pybooru without "site_
113113
- yandere (`Yande.re <https://yande.re/post>`_)
114114
- danbooru (`Danbooru <https://danbooru.donmai.us/>`_)
115115
- safebooru (`Safebooru <https://safebooru.donmai.us/>`_)
116+
- lolibooru (`Lolibooru <https://lolibooru.moe/>`_)

provisional_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@
1010
kona_post = konachan.post_list()
1111
print(konachan.last_call)
1212

13+
lolibooru = Moebooru("lolibooru")
14+
15+
kona_tags = lolibooru.tag_list(order='date')
16+
print(lolibooru.last_call)
17+
kona_post = lolibooru.post_list()
18+
print(lolibooru.last_call)
19+
1320
danbooru = Danbooru('danbooru')
1421

1522
dan_tags = danbooru.tag_list(order='name')

pybooru/resources.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
'danbooru': {
2525
'url': "https://danbooru.donmai.us"},
2626
'safebooru': {
27-
'url': "https://safebooru.donmai.us"}
27+
'url': "https://safebooru.donmai.us"},
28+
'lolibooru': {
29+
'url': "https://lolibooru.moe"},
2830
}
2931

3032

0 commit comments

Comments
 (0)