Skip to content

Commit

Permalink
- trying to fix github tests, by improving headers
Browse files Browse the repository at this point in the history
  • Loading branch information
EchterAlsFake committed Jan 2, 2025
1 parent b6c0eaa commit d6261ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="spankbang_api",
version="1.1",
version="1.1.1",
packages=find_packages(),
install_requires=[
"requests", "lxml", "bs4", "eaf_base_api"
Expand Down
3 changes: 3 additions & 0 deletions spankbang_api/modules/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

headers = {
"Referer": "https://spankbang.com",
"Accept-Language": "en-US,en;q=0.9",
"Accept-Encoding": "gzip, deflate, br, zstd",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8"
}

cookies = {
Expand Down

0 comments on commit d6261ec

Please sign in to comment.