Skip to content

Commit

Permalink
Merge pull request #44 from Nachtalb/na/add-lolibooru-support
Browse files Browse the repository at this point in the history
Add support for lolibooru
  • Loading branch information
LuqueDaniel authored Feb 27, 2020
2 parents 2949a55 + a1fab4a commit 7fc17a2
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Pybooru - Changelog

## Pybooru 4.2.0 - (unreleased)

- Add support for Lolibooru

## Pybooru 4.1.0 - (2017-02-08)
- Pybooru: refactored `_get_status()`
- Python 3.6 support
Expand Down
1 change: 1 addition & 0 deletions docs/source/quick_start_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,4 @@ Pybooru has a list of default sites that allow you to use Pybooru without "site_
- yandere (`Yande.re <https://yande.re/post>`_)
- danbooru (`Danbooru <https://danbooru.donmai.us/>`_)
- safebooru (`Safebooru <https://safebooru.donmai.us/>`_)
- lolibooru (`Lolibooru <https://lolibooru.moe/>`_)
7 changes: 7 additions & 0 deletions provisional_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
kona_post = konachan.post_list()
print(konachan.last_call)

lolibooru = Moebooru("lolibooru")

kona_tags = lolibooru.tag_list(order='date')
print(lolibooru.last_call)
kona_post = lolibooru.post_list()
print(lolibooru.last_call)

danbooru = Danbooru('danbooru')

dan_tags = danbooru.tag_list(order='name')
Expand Down
4 changes: 3 additions & 1 deletion pybooru/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
'danbooru': {
'url': "https://danbooru.donmai.us"},
'safebooru': {
'url': "https://safebooru.donmai.us"}
'url': "https://safebooru.donmai.us"},
'lolibooru': {
'url': "https://lolibooru.moe"},
}


Expand Down

0 comments on commit 7fc17a2

Please sign in to comment.