title: How to decipher this number hiding algorithm?
body: <p>Hello so i am doing sms marketing for my product and i am scraping a phonenumber website having link <a href="https://www.justdial.com/Mumbai/Readymade-Garment-Retailers/nct-10401947" rel="nofollow noreferrer">https://www.justdial.com/Mumbai/Readymade-Garment-Retailers/nct-10401947</a> , this website hide numbers of contact by alloting them class names like <code>mobilesv icon-jie</code> , the letters written after <code>-</code> are important as they represent numbers from 0 to 9 , earlier these were static but look like now they are dynamic and changing on every time I refresh so earlier what i used to do was :</p>
  <pre><code>storeDetails = driver.find_elements_by_class_name('store-details')
  contactList = storeDetails[i].find_elements_by_class_name('mobilesv')
           
          mynumbers = []
  
          for j in range(len(contactList)):
               
              myString = contactList[j].get_attribute('class').split(&quot;-&quot;)[1]
              print(myString)
              mynumbers.append(strings_to_num(myString))
  </code></pre>
  <p>Main logic function(<code>strings_to_num</code> which mapped the class to numbers) was:</p>
  <pre><code>def strings_to_num(argument):
       
      switcher = {
          'dc': '+',
          'fe': '(',
          'hg': ')',
          'ba': '-',
          'vuk': '0',
          'ikj': '1',
          'nmg': '2',
          'hgd': '3',
          'oqp': '4',
          'fde': '5',
          'baa': '6',
          'dcb': '7',
          'trs': '8',
          'rqi': '9'
      }
      return switcher.get(argument, &quot;#&quot;)
  </code></pre>
  <p>But this is no longer working now , can someone help me to sort this out as it is wasting my time , thank you</p>