File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
21
- Update youtube plugin to use proper contentRating API
22
22
- Update mylife.py for website changes
23
23
- Fixed handling of colons in core IRC parser
24
+ - Fix FML random URL
24
25
### Removed
25
26
- twitch.py removed due to outdated API and lack of maintainer
26
27
Original file line number Diff line number Diff line change 12
12
@hook .on_start ()
13
13
async def refresh_fml_cache (loop ):
14
14
""" gets a page of random FMLs and puts them into a dictionary """
15
- url = "http://www.fmylife.com/random/ "
15
+ url = "http://www.fmylife.com/random"
16
16
_func = functools .partial (requests .get , url , timeout = 6 )
17
17
request = await loop .run_in_executor (None , _func )
18
18
soup = parse_soup (request .text )
Original file line number Diff line number Diff line change 10
10
async def test_mylife (mock_requests ):
11
11
mock_requests .add (
12
12
"GET" ,
13
- "http://www.fmylife.com/random/ " ,
13
+ "http://www.fmylife.com/random" ,
14
14
body = """\
15
15
<!DOCTYPE html>
16
16
<html lang="us">
You can’t perform that action at this time.
0 commit comments