Beautiful Soup had deprecated various next/previous calls for some time. For example, switching from nextSibling to next_sibling. This commit drops the use of various deprecated calls for new ones.
In addition, there are cases where calls like find_previous_sibling appear to have changed between recent versions. These calls will find the next tag or navigable string, although some older use cases look to not detect a navigable string compared to new versions. Updating these calls to be a bit more explicit in tag searching, as well as relying on alternative means to inspect content.
Beautiful Soup had deprecated various next/previous calls for some time. For example, switching from
nextSibling
tonext_sibling
. This commit drops the use of various deprecated calls for new ones.In addition, there are cases where calls like
find_previous_sibling
appear to have changed between recent versions. These calls will find the next tag or navigable string, although some older use cases look to not detect a navigable string compared to new versions. Updating these calls to be a bit more explicit in tag searching, as well as relying on alternative means to inspect content.