We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3301e99 commit aa17c0eCopy full SHA for aa17c0e
sbox.py
@@ -198,8 +198,7 @@ def main(cli_file_path, language_code_cli):
198
url = create_url(file_path)
199
search = re.sub(r'search', "download", url)
200
final_url = search + "&language={}".format(selected_language)
201
- header = {
202
- "user-agent": "SubDB/1.0 (SubtitleBOX/1.0; https://github.com/sameera-madushan/SubtitleBOX.git)"}
+ header = {"user-agent": "SubDB/1.0 (SubtitleBOX/1.0; https://github.com/sameera-madushan/SubtitleBOX.git)"}
203
req = requests.get(final_url, headers=header)
204
if req.status_code == 200:
205
data = req.content
0 commit comments