Code Monkey home page Code Monkey logo

Comments (5)

eliasdabbas avatar eliasdabbas commented on May 24, 2024

Is there a way to just extract the information I want, by default it extracts too much, if the web page is large, the json line file will be very large.

Yes, I'm aware it's a lot of information, and that's to make it as complete as possible for SEO/business/content analysis.
The solution is very simple, after crawling, you can read the output file and get the columns you want. Then delete the larger file.

Do you plan to add feature to create sitemap for this app. I have a lot of big websites that need to create a sitemap

One approach might be to use the crawler, which gives you all the URLs, and from that you can create a sitemap with a simple loop.
Do you have another idea of how that might work?

Hope that helps.
Thanks

from advertools.

macosupdate avatar macosupdate commented on May 24, 2024

Maybe I have to customize the code
I am currently creating sitemap as you said, I use 1 python file to create sitemap manually.
I am currently using screamingfrog for web scraping, I think advertools can replace it, just need to add some more features

from advertools.

eliasdabbas avatar eliasdabbas commented on May 24, 2024

I am currently creating sitemap as you said, I use 1 python file to create sitemap manually.

Great.

just need to add some more features

Cool. What do you suggest?

from advertools.

macosupdate avatar macosupdate commented on May 24, 2024

Can you guide me to configure the proxy?
I am currently using proxychains

from advertools.

eliasdabbas avatar eliasdabbas commented on May 24, 2024

You can check out some of Scrapy's content:

https://www.zyte.com/blog/scrapy-proxy/

https://docs.scrapy.org/en/latest/_modules/scrapy/downloadermiddlewares/httpproxy.html

https://zytedata.medium.com/how-to-set-up-a-custom-proxy-in-scrapy-d245a49784fd

from advertools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.