Skip to content

NSO mobile app version number not detected properly from App Store page #54

Closed

Description

@PKBeam

When the app makes a request to Apple's App Store page for the mobile app, the response text includes the following:

<p class="l-column small-6 medium-12 whats-new__latest__version">Version  2.4.0</p>

There is extra whitespace here, so the regex doesn't pick it up properly.

One possible fix is:

-   searchPattern = re.compile(r'Version\s(\d\.\d\.\d)*')
+   searchPattern = re.compile(r'Version\s*(\d\.\d\.\d)+')

Activity

  1. changed the title [-]NSO mobile app version number not detected properly[/-] [+]NSO mobile app version number not detected properly from App Store page[/+] on Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions