use https for subtitle links - sub - subscene.com subtitle search
(HTM) git clone git://git.codemadness.org/sub
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9af38214963e9ffc965301213bdcfe81c090339e
(DIR) parent 4ba7e1e7db7d179e06925b2cc9e1d6e926aadc0b
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 12 Mar 2018 00:49:58 +0100
use https for subtitle links
Diffstat:
M sub.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sub.c b/sub.c
@@ -113,7 +113,7 @@ xml_handler_end_element(XMLParser *p, const char *tag, size_t taglen,
(void)isshort;
if (istag(tag, "tr") && sub.issub == 1) {
- printf("LANG:%s\tTITLE:%s\tURL:http://subscene.com%s\tHI:%d\tFILES:%d\tAUTHOR:%s\n",
+ printf("LANG:%s\tTITLE:%s\tURL:https://subscene.com%s\tHI:%d\tFILES:%d\tAUTHOR:%s\n",
sub.lang, sub.title, sub.url, sub.hi, sub.files, sub.author);
} else if (istag(tag, "td")) {
curclass[0] = '\0';