Skip to content

Commit aa17c0e

Browse files
Update sbox.py
1 parent 3301e99 commit aa17c0e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sbox.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ def main(cli_file_path, language_code_cli):
198198
url = create_url(file_path)
199199
search = re.sub(r'search', "download", url)
200200
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)"}
201+
header = {"user-agent": "SubDB/1.0 (SubtitleBOX/1.0; https://github.com/sameera-madushan/SubtitleBOX.git)"}
203202
req = requests.get(final_url, headers=header)
204203
if req.status_code == 200:
205204
data = req.content

0 commit comments

Comments
 (0)