From e8e7ca67ac8d1ab5af63850a3c179e6e7489dcf5 Mon Sep 17 00:00:00 2001 From: Evgeny Kuznetsov Date: Mon, 17 Jun 2019 00:19:02 +0300 Subject: add episode description --- main.go | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 75dad75..5c109bf 100644 --- a/main.go +++ b/main.go @@ -26,6 +26,7 @@ var ( episodeRe = regexp.MustCompile(`(?s)
(.+?)?
`) episodeAudioRe = regexp.MustCompile(`data\-id="(.+?)?">`) episodeDateRe = regexp.MustCompile(`brand\-time brand\-menu\-link">(.+?)?\.(.+?)?\.(.+?)? в (.+?)?:(.+?)?`) + episodeDescRe = regexp.MustCompile(`

(.+?)?

`) episodeTitleRe = regexp.MustCompile(`title brand\-menu\-link">(.+?)?`) episodeUrlRe = regexp.MustCompile(`