Skip to content

Newsdownloader: add HTTPS support and fixes#3072

Merged
Frenzie merged 1 commit intokoreader:masterfrom
Frenzie:https_newsdownloader
Aug 11, 2017
Merged

Newsdownloader: add HTTPS support and fixes#3072
Frenzie merged 1 commit intokoreader:masterfrom
Frenzie:https_newsdownloader

Conversation

@Frenzie
Copy link
Copy Markdown
Member

@Frenzie Frenzie commented Aug 11, 2017

@Frenzie
Copy link
Copy Markdown
Member Author

Frenzie commented Aug 11, 2017

@mwoz123 Since you are the most familiar with this code I'd appreciate it if you could check if I didn't accidentally break anything. (Ideally that's where unit tests come in.)

* Fixes koreader#3041 (HTTPS)
* Fixes unlimited (limit = 0) was broken
* Fixes titles and links with attributes
@Frenzie Frenzie force-pushed the https_newsdownloader branch from ab9510d to 3e436aa Compare August 11, 2017 14:35
local logger = require("logger")
local ltn12 = require("ltn12")
local LuaSettings = require("frontend/luasettings")
local socket_url = require("socket.url")
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figured it was easier to use socket_url here than to change all of the already existing urls to something else.

Copy link
Copy Markdown
Contributor

@mwoz123 mwoz123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I know lua (basics) looks ok.

@Frenzie
Copy link
Copy Markdown
Member Author

Frenzie commented Aug 11, 2017

All right, I'll just go ahead and merge this so it'll be in the next nightly then.

@Frenzie Frenzie merged commit 16dd517 into koreader:master Aug 11, 2017
@Frenzie Frenzie deleted the https_newsdownloader branch August 11, 2017 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants