James Lu
819fcc6c09
Wikifetch: add a --no-mw-parsing option in an attempt to support non-MediaWiki sites
2017-03-18 18:47:20 -07:00
James Lu
194ac4d7be
Wikifetch: clarify _get_article_tree docstring
2017-03-18 18:23:00 -07:00
James Lu
54ecbe89b5
SupyMisc: unbutcher syntax description for 'mreplace'
2017-03-17 23:03:36 -07:00
James Lu
e0d3188719
Weather: add a locationsearch command to look up raw zmw codes
2017-03-09 19:41:26 -08:00
James Lu
a9d27f8bf6
Weather: move JSON decoding into _wunderjson()
2017-03-09 19:16:36 -08:00
James Lu
ba1eb6474b
Weather: rewrite autocomplete code to support multiple results internally
2017-03-09 19:00:46 -08:00
James Lu
a8ebadc82e
Weather: show a proper error if current conditions couldn't be found
2017-03-09 18:47:26 -08:00
James Lu
364f2d4f6a
Weather: return raw ZMW codes as is in _wuac
2017-03-09 18:40:22 -08:00
James Lu
8bc77c8f63
MCInfo: more compact row iteration
2017-03-08 18:39:59 -08:00
James Lu
35e82ca785
LastFM: fix my email [skip ci]
2017-03-07 17:18:46 -08:00
James Lu
6cf19f67e2
.travis.yml: allow the nightly branch to fail
2017-02-23 18:03:05 -08:00
James Lu
5b9daa4a5f
.travis.yml: remove fast_finish; it tends to flood web hooks
2017-02-23 18:01:21 -08:00
James Lu
67c40b5974
PkgInfo: skip 'archlinux' and 'archaur' tests; the servers very often time out!
2017-02-23 18:00:32 -08:00
James Lu
094b9a332d
TranslateParty: strip IRC formatting to prevent text corruption
...
Closes #60 .
2017-02-23 17:32:20 -08:00
James Lu
a9dfb1009d
Wikifetch: add a three second timeout in fetch
2017-02-04 18:28:11 -08:00
James Lu
2fbfc37f98
Wikifetch: leave a fallback reply if paragraph parsing failed
2017-01-27 18:16:00 -08:00
James Lu
2bd06a39a9
Wikifetch: return the address in _get_article_tree as well
2017-01-27 18:10:52 -08:00
James Lu
18493a5e23
Wikifetch: revamp tests to be more complete
...
This now tests different combinations of --site, and tries to parse some other common wikis.
2017-01-27 18:01:13 -08:00
James Lu
100f503783
Wikifetch: support wikimedia.org and mediawiki.org
2017-01-27 18:00:48 -08:00
James Lu
8d586dad47
Wikifetch: fix NameError on redirect parsing
2017-01-27 17:38:37 -08:00
James Lu
5bf0bd6fd5
Wikifetch: bump copyright years
2017-01-27 17:32:20 -08:00
James Lu
9f1f04d25c
Wikifetch: only show "possible results" in disambiguation pages if parsing succeeds
2017-01-27 17:25:43 -08:00
James Lu
d1eea2a0a4
Wikifetch: support disambiguation parsing on Wikia
2017-01-27 17:25:24 -08:00
James Lu
3ca87bb686
Wikifetch: abstract out article fetching, fix Wikia search support
2017-01-27 17:12:41 -08:00
James Lu
482a8dd1d9
Wikifetch: remove special case for articles about years
...
This isn't really relevant anymore, since most years on Wikipedia have an introductory paragraph describing them now.
2017-01-27 17:10:32 -08:00
James Lu
4d487dd0e0
Wikifetch: log the URL when fetching a link fails
2017-01-26 21:28:06 -08:00
James Lu
1e7bfed72e
DDG: support !bang links (redirects)
2017-01-20 22:18:25 -08:00
James Lu
2db371a9fa
DDG: rewrite _ddgurl() to return new and original request URLs
...
This uses utils.web.getUrlTargetAndContent(), which is specific to Limnoria and requires commit ProgVal/Limnoria@57b77a6725 or later
2017-01-20 22:18:21 -08:00
James Lu
0b0c1b59ab
DDG: show all lines of multiline zeroclick replies
...
Thanks to @nathan0 for pointing this out.
2017-01-20 21:51:05 -08:00
James Lu
9d76e56a33
.travis.yml: replace 3.5-dev with 3.6
2017-01-20 19:09:21 -08:00
James Lu
1836cc7f90
LastFM: rewrite YouTube link search to use DDG's search_core()
...
This allows the LastFM plugin to share the same redirect expansion code as DDG (from commit 8187d51cef8a716f7b58d8e4521ebf37444f8fe0).
2017-01-20 19:04:07 -08:00
James Lu
4915b7713b
DDG: actually, return a list of tuples in search_core()
...
This abstraction makes it easier for depending plugins to filter out the data they actually need.
2017-01-20 18:57:55 -08:00
James Lu
3729068633
DDG: fix a typo in comments
2017-01-20 18:51:10 -08:00
James Lu
7a6e2f9f97
DDG: rewrite to fix "max results" not working
2017-01-20 18:50:16 -08:00
James Lu
47bb74d7d9
DDG: abstract out a search_core(), as the LastFM plugin will use this later
2017-01-20 18:39:42 -08:00
James Lu
d332e73e48
DDG: make _ddgurl() a static method
2017-01-20 18:18:06 -08:00
James Lu
8187d51cef
DDG: expand redirect links in search results
...
Some links on DuckDuckGo's site are now shown going through a redirect service.
These links are in the format "/l/?kh=-1&uddg=https%3A%2F%2Fduckduckgo.com%2F" instead of simply being "https://duckduckgo.com ", and we should decode these here.
2017-01-20 18:14:07 -08:00
James Lu
22a710649e
Bump version to 2017.01.16+git
2017-01-16 21:23:59 -08:00
James Lu
f97b54d709
Bump version to 2017.01.16
2017.01.16
2017-01-16 21:16:25 -08:00
James Lu
0ef8138ab3
SedRegex: bump copyright year to 2017
2017-01-16 21:15:58 -08:00
James Lu
926454b01d
SedRegex: fix some replacement queries not working
2017-01-04 20:36:45 -08:00
James Lu
e137d29eb9
SedRegex: also catch errors in the regexp_wrapper() step
...
E.g. sre_constants.error: invalid group reference
2016-12-26 08:05:06 -08:00
James Lu
406d7b1790
SedRegex: log the exact error name instead of "SedRegex error"
2016-12-26 08:04:20 -08:00
James Lu
aa217516b0
Remove BonusLevel plugin, it isn't being used anymore
2016-12-22 12:20:45 -08:00
James Lu
97701522cc
SysDNS: specifically hint that the domain exists when no records are found
2016-12-22 12:16:59 -08:00
James Lu
414a4a4a16
SedRegex: require ending delimiter to prevent overzealous matching of replacement text
...
Closes #59 .
2016-12-22 12:12:21 -08:00
James Lu
244a8c6bee
SedRegex: work around "nothing to replace" errors on < Python 2.7.6 again
2016-12-22 12:05:00 -08:00
James Lu
6ce29eda6c
TranslateParty: update docs
2016-12-18 14:55:02 -08:00
James Lu
db125ee5d1
SedRegex: fix flag matching
2016-12-17 21:12:36 -08:00
James Lu
9d0dce6ef5
SedRegex: add configuration / usage instructions
2016-12-17 20:49:16 -08:00