Skip to content

Commit

Permalink
fix: Coomer.su sceneByFragment failing if filename containing non iso…
Browse files Browse the repository at this point in the history
…-8951 characters (#2157)
  • Loading branch information
OrkunKocyigit authored Jan 8, 2025
1 parent ec7813f commit f33f57f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scrapers/Coomer/Coomer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import requests
import re
from bs4 import BeautifulSoup as bs
import io

# TODO: Enable searching from other fields?

Expand All @@ -18,6 +19,7 @@ def debugPrint(t):

# Get JSON from Stash
def readJSONInput():
sys.stdin = io.TextIOWrapper(sys.stdin.buffer, encoding='utf-8')
input = sys.stdin.read()
return json.loads(input)

Expand Down

0 comments on commit f33f57f

Please sign in to comment.