add todo
This commit is contained in:
parent
d256e33683
commit
26afb4d88b
|
|
@ -49,6 +49,13 @@ turndownService.addRule('noHiddenImages', {
|
|||
}
|
||||
})
|
||||
|
||||
// todo: filter out profile header
|
||||
// (right below title, the div with author profile pic and name and time to read article)
|
||||
// unfortunately Medium uses randomly generated CSS properties which makes it hard to
|
||||
// identify the header and strip it out. For example, I could strip the div with
|
||||
// the class "eq" but the next time medium updated their CSS the div would have
|
||||
// a different class name and the filter wouldn't work anymore
|
||||
|
||||
function convertFromUrl(url) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
request({
|
||||
|
|
|
|||
Loading…
Reference in New Issue