Skip to content

dvdeveloper/Extraer-productos-PCFactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Extractor de productos - PCFactory

Script para extraer productos por categoría de PCFactory (https://www.pcfactory.cl) y guardar el resultado en un excel

Descargar ejemplo excel

Dependencias Python 3

BeautifulSoup4

pip3 install BeautifulSoup4

HTTP Lib

pip3 install httplib2

Python Excel xlwt

pip3 install xlwt

Ejemplo array categorias

Categorias	 = [("Discos Externos","https://www.pcfactory.cl/?categoria=422&papa=706"),
				("Desktops","https://www.pcfactory.cl/?categoria=626&papa=737"),
				("Tarjetas Gráficas NVIDIA","https://www.pcfactory.cl/?categoria=378&papa=334"),
				("Tarjetas Gráficas AMD","https://www.pcfactory.cl/?categoria=454&papa=334"),
				("CPU AMD sAM3+","https://www.pcfactory.cl/?categoria=499&papa=272"),
				("Monitores LCD y LED","https://www.pcfactory.cl/?categoria=250&papa=256"),
				("Refrigeración CPU","https://www.pcfactory.cl/?categoria=648&papa=42"),
				("Tablets","https://www.pcfactory.cl/?categoria=488&papa=735")]

About

Script para extraer productos por categoría de PCFactory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages