Below is the code for scraping data from the website - <http://www.asmi.com/index.cfm?GPID=14>

```
import requests
from bs4 import BeautifulSoup
import re

for num in range(14, 25):
    r = requests.get(f"http://www.asmi.com/index.cfm?GPID={num}")
    soup = BeautifulSoup(r.text, 'html.parser')
    names = list(dict.fromkeys([' '.join(items.split())
                                for items in soup(text=re.compile(r'Ltd\s?$'))]))
    other = list(dict.fromkeys([items.text
                                for items in soup.findAll("strong", text=True)]))
    Name = names+other
    Address = list(dict.fromkeys([items.text
                                for items in soup(text=re.compile(r'Ltd\s\n\Singapore\s[0-9]{6}'))]))

    ZipCode = list(dict.fromkeys([items.text
                                for items in soup(text=re.compile(r'Singapore\s[0-9]{6}'))]))
    Email = list(dict.fromkeys([items.text
                                for items in soup(text=re.compile(r'\w*\@\.com'))]))
    Website = list(dict.fromkeys([items.text
                                for items in soup(text=re.compile(r'\www\.\w*\.com'))]))
    Contact = list(dict.fromkeys([items.text
                                for items in soup(text=re.compile(r'Contact Person:'))]))

```

Using the above code, I am unable to fetch the following two information:

* Correct & Complete name
* Address line

The HTML piece for page [second page](http://www.asmi.com/index.cfm?GPID=15) for 

```
Cyclect Electrical Engineering Pte Ltd
33 Tuas View Crescent
Singapore 637654
Tel: 6868 6000
Fax: 6863 6260
Email: tan.ey@cyclect.com.sg
Website: www.cyclect.com.sg
Contact Person: Mr Marcus Tan 

```

is

```
<div><span style="font-size: small;"><span style="font-family: Arial;"> <br>
</span></span><span style="font-size: x-small"><span style="font-family: Arial"><span style="font-size: 10pt"><font color="#333333"><strong><a name="C"></a></strong></font></span><span style="font-size: small;"><font color="#333333"><strong>C</strong></font></span><span style="font-size: small;"><strong>yclect Electrical Engineering Pte Ltd<br>
</strong>33 Tuas View Crescent<br>
Singapore 637654<br>
Tel: 6868 6000<br>
Fax: 6863 6260<br>
Email: <a href="mailto:tan.ey@cyclect.com.sg"><span style="font-size: small;">tan.ey@cyclect.com.sg</span></a><br>
</span><span style="font-size: small;">Website: </span><span style="font-size: small;"><a href="http://www.cyclect.com.sg" target="_blank"><span style="font-size: small;">www.cyclect.com.sg<br>
</span></a></span></span></span><span style="font-size: small;"><span style="font-family: Arial;">Contact Person: Mr Marcus Tan&nbsp;<br>
<br>
</span></span><span style="font-size: small;"><strong><a name="E"></a>Engie Axima Singapore Pte Ltd</strong><br>
</span><span style="font-size: 10pt;">
<div><span style="font-size: small;"><span style="font-family: Arial;">108 Pasir Panjang Road</span></span></div>
<div><span style="font-size: small;"><span style="font-family: Arial;">#05-04 PSA Vista</span></span></div>
<div>
<div><span style="font-size: small;"><span style="font-family: Arial;">Singapore 118535</span></span></div>
<span style="font-size: small;"><span style="font-family: Arial;">Tel: 6514 1226</span><br>
Fax: 6305 9335</span><br>
<span style="font-size: small;">Email:&nbsp;</span><a href="mailto:nur-ain-binte.mohd-amin@engie.com"><span style="font-size: small;">nur-ain-binte.mohd-amin@engie.com</span></a><span style="font-size: small;"><br>
Website:&nbsp;</span><span style="font-size: small;"><a href="http://www.engie-axima.fr" target="_blank"><span style="font-size: small;">www.engie-axima.fr</span></a></span></div>
</span><span style="font-size: small;">Contact Person: Mr Cedric Lucas</span></div>

```