Skip to content

Commit

Permalink
Atualizando documentação e depuração
Browse files Browse the repository at this point in the history
  • Loading branch information
iuriguilherme committed Nov 1, 2023
1 parent 16f718a commit 1a05a3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ arquivo `.env`:

```
BASE_URL = https://metamemo.org.br/consulta
LIST_ROUTE = /lista
ITEM_ROUTE = /metamemo
LIST_ROUTE = lista
ITEM_ROUTE = metamemo
SOURCES_BUSCA = Facebook,Twitter,Youtube,Instagram,Telegram,Blog
START_DATE_BUSCA = 2022-01-01
CHANCE = 30
Expand Down
2 changes: 1 addition & 1 deletion src/botonaro/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
Creative Commons 4.0 Attribution Share Alike
"""

__version__: str = "0.4.6"
__version__: str = "0.4.7"

1 change: 1 addition & 0 deletions src/instance/personalidades/custom/buscamemo.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ async def busca_frase(
) -> typing.Union[list, list[ResultMixin]]:
"""Retorna o resultado de uma busca em BASE_URL"""
try:
logger.debug("Busca frase")
fonte_url: str = "/".join([
os.environ.get("BASE_URL", "http://example.com"),
os.environ.get("LIST_ROUTE", "/"),
Expand Down

0 comments on commit 1a05a3b

Please sign in to comment.