A Web Scraping of Chemical Compounds with an Anti-Drug Feature Using IoT

  • Nadia Mahmood Hussien Department of Computer Science, Collage of Science, Mustansiriyah University, Baghdad, Iraq
  • Yasmin Makki Mohialden Department of Computer Science, Collage of Science, Mustansiriyah University, Baghdad, Iraq
Keywords: COVID-19 Pandemic, RESRful API, Use Case Diagram, IoT, PubChem, Web Scraping


As a result of the COVID-19 epidemic, there has been an increase in the demand for electronic education apps in schools and colleges in recent years. The purpose of this paper is to develop an educational application for chemistry students at different levels of study that will allow them to obtain precise information on chemical substances in a timely and safe manner. This program uses a web scraping technique by applied a  RESRful API to extract information from websites, which is then sent to the student's account. Furthermore, due to the use of the Internet of Things, the application  has an anti-explosives and narcotics property using (IOT). The application can retrieve and save information entered by the user on chemical compounds with a high level of security. The medication's chemical formula, as well as the covalent and ionic bonding of compounds, can be displayed. It also has a database that lists all of the hazardous substances. If a user enters a dangerous compound containing narcotics more than four times, an alarm message is sent to the administrator via the Internet of Things.


Bolton, E. E., Wang, Y., Thiessen, P. A., & Bryant, S. H. (2008). PubChem: integrated platform of small molecules and biological activities. In Annual reports in computational chemistry (Vol. 4, pp. 217-241). Elsevier.

Dallakyan, S., & Olson, A. J. (2015). Small-molecule library screening by docking with PyRx. In Chemical biology (pp. 243-250). Humana Press, New York, NY.

El Asikri, M., Krit, S., & Chaib, H. (2020). Using Web Scraping In A Knowledge Environment To Build Ontologies Using Python And Scrapy. European Journal of Molecular & Clinical Medicine, 7(03), 2020.

Haddaway, N. R. (2015). The use of web-scraping software in searching for grey literature. Grey J, 11(3), 186-90.

Hernandez-Suarez, A., Sanchez-Perez, G., Toscano-Medina, K., Martinez-Hernandez, V., Sanchez, V., & Perez-Meana, H. (2018). A web scraping methodology for bypassing twitter API restrictions. arXiv preprint arXiv:1803.09875.

Kim, S., Chen, J., Cheng, T., Gindulyte, A., He, J., He, S., ... & Bolton, E. E. (2019). PubChem 2019 update: improved access to chemical data. Nucleic acids research, 47(D1), D1102-D1109.

Mekki, K., Bajic, E., Chaxel, F., & Meyer, F. (2019). A comparative study of LPWAN technologies for large-scale IoT deployment. ICT express, 5(1), 1-7.

Mitchell, R. (2018). Web scraping with Python: Collecting more data from the modern web. " O'Reilly Media, Inc.

Richard, A. M., Huang, R., Waidyanatha, S., Shinn, P., Collins, B. J., Thillainadarajah, I., ... & Tice, R. R. (2020). The Tox21 10K compound library: collaborative chemistry advancing toxicology. Chemical Research in Toxicology, 34(2), 189-216.

Wang, Y., Xiao, J., Suzek, T. O., Zhang, J., Wang, J., & Bryant, S. H. (2009). PubChem: a public information system for analyzing bioactivities of small molecules. Nucleic acids research, 37(suppl_2), W623-W633.

How to Cite
Hussien, N. M., & Mohialden, Y. M. (2022). A Web Scraping of Chemical Compounds with an Anti-Drug Feature Using IoT. Journal La Multiapp, 3(3), 113-117. https://doi.org/10.37899/journallamultiapp.v3i3.658