Skip to content

Commit bbf0d04

Browse files
authored
Merge pull request #9 from biocoder-frodo/master
Website parsing error: unable to extract reactContext.
2 parents 3f56366 + f31989d commit bbf0d04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/lib/utils/website.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
PAGE_ITEM_ERROR_CODE = 'models/flow/data/fields/errorCode/value'
5757
PAGE_ITEM_ERROR_CODE_LIST = 'models\\i18nStrings\\data\\login/login'
5858

59-
JSON_REGEX = r'netflix\.{}\s*=\s*(.*?);\s*</script>'
59+
JSON_REGEX = r'^.*netflix\.{}\s*=\s*(.*?);\s*</script>.*$'
6060
AVATAR_SUBPATH = ['images', 'byWidth', '320']
6161

6262
PROFILE_DEBUG_INFO = ['isAccountOwner', 'isActive', 'isKids', 'maturityLevel', 'language']

0 commit comments

Comments
 (0)