fatgenius / Data-analysis-by-python

Use python code to analysis data on the internet also get data out of internet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data-analysis-by-python

Use python code to analysis data on the internet also get data out of internet

login.py will be the code for auto login a website can use code to instead of the mouse but the login.py file do not have the function to handle the captcha need use the opencv or other method to handle that

python_scrapy is the example code how to using python scrapy to auto download picture
from internet some scrapy shell command is below:

                first start the project scrapy :    scrapy projectname


                 build the spider:   scrapy genrate projectname


                 scrapy genrate projectname + domain name 



                use the css or the xpatch to find the iteams;
                scrapy shell:
                fetch('website name ') 

                running the scrapy project using :scrapy crawl projectname
                save the jasonfile: scrapy crawl --set FEED_URI= filename.JL

                using pipline to process the image: image p
                first install pillow 
                in the setting must enable the pipline to process image 
                also set the pic location 
                ##readlink -f to check the file path

                or do it in the shell 
                scrapy crawl sportsdirect --set FEED_URI=product_image.jl --set IMAGES_STORE=images

About

Use python code to analysis data on the internet also get data out of internet


Languages

Language:Julia 97.7%Language:Python 2.3%