From f843236059b29d89d3fdf4d9bee7b70b546710eb Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Mon, 9 May 2016 21:41:23 +0200 Subject: [PATCH] Fix crosswalk bible list download --- openlp/plugins/bibles/lib/http.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/bibles/lib/http.py b/openlp/plugins/bibles/lib/http.py index 4f912699c..8333da941 100644 --- a/openlp/plugins/bibles/lib/http.py +++ b/openlp/plugins/bibles/lib/http.py @@ -520,7 +520,7 @@ class CWExtract(RegistryProperties): returns a list in the form [(biblename, biblekey, language_code)] """ log.debug('CWExtract.get_bibles_from_http') - bible_url = 'http://www.biblestudytools.com/search/bible-search.part/' + bible_url = 'http://www.biblestudytools.com/' soup = get_soup_for_bible_ref(bible_url) if not soup: return None @@ -528,7 +528,7 @@ class CWExtract(RegistryProperties): if not bible_select: log.debug('No select tags found - did site change?') return None - option_tags = bible_select.find_all('option') + option_tags = bible_select.find_all('option', {'class': 'log-translation'}) if not option_tags: log.debug('No option tags found - did site change?') return None