Commit Graph

79 Commits

Author SHA1 Message Date
Cloud cb408c94de test: test rule optimization (#2871) 2019-08-18 21:40:51 +08:00
DIYgod c187811b97
feat: node name 2019-08-15 23:58:50 +08:00
DIYgod eba8f46875
feat: header x-app -> server 2019-08-15 23:14:48 +08:00
Cloud 4b4b1d492a fix: atomlink href (#2858) 2019-08-15 18:54:05 +08:00
DIYgod e5d34eda6b
test: request-wrapper 2019-08-11 00:31:20 +08:00
sanmmmm 914034760d feat: 新增自动提取全文输出 (#2738) 2019-08-02 17:22:58 +08:00
Henry Wang d09affa703 feat: add addNoReferrer in common-utils (#2571)
* fix: no-referrer tag

* chore: merge qdaily routes

* feat: add addNoReferrer in common-utils

This adds no-referrer attribute to images.
Parameters:

- add no-referrer attribute to images
- $: cheerio selector
- source: source selector, string
- target: target attribute name, typically for lazyload imgs, string
- srcPrefix: prefix for src, string
- removeAttr: attributes to remove, array: ['attrA','attrB']

* test: add test case

* doc: update
2019-07-08 11:45:02 +08:00
DIYgod b9ab52a0d5
feat: wrong path error 2019-06-19 18:52:13 +08:00
DIYgod 7c2f4777af
feat: debug info for hot route and path 2019-06-19 18:39:40 +08:00
DIYgod 449cd6bf37
test: socket 2019-06-14 18:04:55 +08:00
DIYgod 56e74742fc
test: got axios options 2019-06-14 17:51:03 +08:00
DIYgod 8937882847
test: allowEmpty 2019-06-14 11:37:04 +08:00
DIYgod 909980fcce
test: proxy auth and url_regex 2019-06-14 11:18:18 +08:00
DIYgod a17c89abaf
test: proxy 2019-06-13 19:32:42 +08:00
DIYgod 749ede3af8
test: puppeteer auto close 2019-06-13 18:37:55 +08:00
DIYgod 510c849da7
test: config 2019-06-13 16:57:47 +08:00
DIYgod f8f427a414
test: date cases 2019-06-13 16:21:05 +08:00
DIYgod dea283d0bd
test: filter_time 2019-06-13 16:10:08 +08:00
DIYgod 2d320fc05a
test: fix redis test cases 2019-06-13 15:48:20 +08:00
DIYgod 7c5aaa3c14
test: redis with quit and error cases 2019-06-13 15:23:28 +08:00
DIYgod 76add4785a
test: add empty item test case 2019-06-13 12:01:07 +08:00
Henry Wang 4531de80f9 feat: add common-utils (#2374) 2019-06-12 11:09:27 +08:00
DIYgod e78992ef7c
fix: no cache 2019-06-11 14:10:34 +08:00
DIYgod 5c95509c55
test: add test cases for CACHE_CONTENT_EXPIRE and no cache 2019-06-10 17:17:52 +08:00
tuzi3040 a04a88d2cd fix: value of rss TTL tag (#2297)
* fix value of rss TTL tag

* fix test algorithm for rss ttl tag
2019-06-04 11:02:56 +08:00
DIYgod a56c0b5a39
refactor: rename axios to got 2019-06-03 18:03:05 +08:00
DIYgod 163a589e20 Merge branch 'master' into feature/got 2019-06-03 17:06:48 +08:00
DIYgod 225fca4f15
test: fix test cases 2019-05-13 00:31:28 +08:00
DIYgod c2a687a2f7
test: fix test case 2019-05-09 01:45:46 +08:00
DIYgod 075a8d1864
feat: support setting expire time for content cache 2019-05-09 01:11:19 +08:00
DIYgod 0fe65cece8
test: add test cases for date 2019-05-07 14:39:24 +08:00
DIYgod e5385b0037
test: fix test case 2019-04-30 00:21:21 +08:00
DIYgod 8637eb06d2
feat(core): set access-control-allow-origin header to prevent abuse 2019-04-30 00:12:28 +08:00
DIYgod c1f856391d
feat(core): add public in cache-control header 2019-04-29 11:36:03 +08:00
DIYgod 847bb00a9e
feat(core): set cache-control max-age equal to config.cacheExpire 2019-04-29 11:15:00 +08:00
DIYgod 7f1495bfeb
test: remove etag test case temporarily 2019-04-26 12:08:22 +08:00
DIYgod 801f75c732
feat(core): add edge and last-modified header, close #338 2019-04-26 11:59:17 +08:00
DIYgod 57a06b190f Merge branch 'use-got-fix-proxy' of https://github.com/fengkx/RSSHub into fengkx-use-got-fix-proxy 2019-04-17 23:05:13 +08:00
SettingDust f8990b7cb7 The cherrio config route (#1699)
Use js config too build rss

close #349 close #1035
2019-03-11 10:47:09 +08:00
fengkx 1c0bf5697f test 2019-03-10 00:19:54 +08:00
Henry Wang e1d91a591e del: line breaker handling in middleware (#1592)
* del: remove line breaker handling

As it's slowing down RSSHub drastically

* del: related test case

* feat: weibo line breaker handling
2019-02-21 15:24:55 +08:00
Henry Wang 7a0f3e3eb7 替换换行符为 <br> (#1523)
close #1522
2019-02-19 22:45:29 +08:00
DIYgod 569659e077 Revert "test: socket"
This reverts commit 94fc022908.
2019-02-01 18:43:59 +08:00
DIYgod 94fc022908
test: socket 2019-02-01 18:39:38 +08:00
DIYgod b102ad2d07
test: route cache in middleware/cache 2019-02-01 17:52:29 +08:00
DIYgod b36838ac8c
test: fix ECONNREFUSED 2019-02-01 15:03:13 +08:00
DIYgod 991c2407a4
test: middleware/cache 2019-01-31 18:29:26 +08:00
DIYgod 2438a498db
test: clear up 2019-01-31 15:30:44 +08:00
DIYgod 9afa5049d0
test: middleware/header 2019-01-31 15:12:54 +08:00
DIYgod 3baf2e2b86
fix types 2019-01-31 11:57:57 +08:00