GithubHelp home page GithubHelp logo

michael-act / senginta.py Goto Github PK

View Code? Open in Web Editor NEW
35.0 1.0 7.0 267 KB

All in one Search Engine Scrapper for used by API or Python Module. It's Free & Lightweight!

License: MIT License

Python 100.00%
search-engine search-engine-scraper google-scraper baidu-scrapper google-shop-scrapper google-video-scrapper google-news-scrapper google-scholar-scrapper

senginta.py's Introduction

All in one Search Engine Scrapper for used by API or Python Module.

How to use: Video

Documentation
Documentation

Senginta is All in one Search Engine Scrapper. With traditional scrapping, Senginta can be powerful to get result from any Search Engine, and convert to Json. Now support only for Google Product Search Engine (GShop, GVideo and many too) and Baidu Search Engine.

Senginta was originally developed by me alone. So, if you want to contribute for support another search engine, let's fork this Repository.

Senginta provides beta Python.

Install

$ pip install senginta

To update senginta to the latest version, add --upgrade flag to the above commands.

Try your first Senginta program

$ python
>>> from senginta.static.Google import GSearch
>>> search_spider = GSearch('study from home')
>>> print(search_spider.to_json())
...
...
...
Json Formatting
>>> search_spider.get_all()
...
...
...
Dictionary

Resources

License

MIT License

WARNING

All intended of use, the responsibility rests with you. So, use wisely!

senginta.py's People

Contributors

michael-act avatar naufalardhani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

senginta.py's Issues

Definition

Is your repo meant to create a software to search on many search engines at the same time (in one search box)?

If yes, where is the difficulty to integrate more than the two actually implemented search engines?

In GShop, parsing Price Missing

Gshop json is not able to show price , can anyone tell what is the problem in it.
i guess while scraping wrong scraping parameter was taken.
i request Michael, please look in it and help to solve this or give me any idea what to do,,,
i thing due to site changes in google web pages changes their xpath or class or id so that money not able to scrap

Decode chinese character from baidu search

How about to decode chinese character from baidu search ? because the title and description are looks messy

The result :

[
  {
    "result_id": 0,
    "title": "Gojek Super App: Ojek Online, Taksi Online, Pesan Maka...",
    "description": "Lebih dari 1 juta driver Gojek siap melayani ojek online, taksi online, pesan antar makanan, kirim barang, belanja & p...",
    "author": [],
    "author_link": [],
    "domain": "www.baidu.com",
    "link": "http://www.baidu.com/link?url=3aPu-M15DJ5YwyVO7uWaNTLbhaIEqjkMx6TMTnBwCsC"
  },
  {
    "result_id": 1,
    "title": "\n\nGojek\u7684\u6700\u65b0\u76f8\u5173\u4fe1\u606f\n                    \n",
    "description": null,
    "author": [],
    "author_link": [],
    "domain": "www.baidu.com",
    "link": "http://www.baidu.com/link?url=xUB51zrEVZt7XqW96Riegiwj7o6G8E_r_HYqtvQM6voU1JXBqOeCJDeXJ87ikInsdWWXok5uVgoRIhJQWAHNtCj7Xr5po2Hhj0-uXlNtGXK"
  },
  {
    "result_id": 2,
    "title": "Gojek\u548cTokopedia\u8ba1\u5212\u5408\u5e76,\u7ec4\u6210\u4f30\u503c180\u4ebf\u7f8e\u5143\u7684\u65b0\u516c\u53f8",
    "description": "2021\u5e741\u67087\u65e5\u00a0\u4e09\u4f4d\u719f\u6089\u8c08\u5224\u7684\u4eba\u58eb\u8868\u793a\uff0c\u6253\u8f66\u548c\u652f\u4ed8\u96c6\u56e2Gojek\u548c\u7535\u5b50\u5546\u52a1\u72ec\u89d2\u517dTokopedia\u5df2\u7ecf\u7b7e\u7f72\u4e86\u4e00\u4efd\u6761\u6b3e\u4e66\uff0c\u5e76\u5c06\u5728\u672a\u6765\u51e0\u4e2a\u6708\u5185\u8fdb\u884c\u5c3d\u804c\u8c03\u67e5\u3002\u5176\u4e2d\u4e00\u4f4d\u4eba\u58eb\u8bf4\uff0c\u5b59\u6b63\u4e49\uff08\u5176\u516c...",
    "author": [],
    "author_link": [],
    "domain": "www.baidu.com",
    "link": "http://www.baidu.com/link?url=OFglRRbpjm9ejljkW6XKQTmnydWi85HWTIADZPjoo_Ap8B0U_TwUSDwkduF9h5nDKvD84L6KM456Oyzf3TPGkl2dsI0l2IDvvJlwBqDheT_"
  },
  {
    "result_id": 3,
    "title": "Gojek \u00b7 GitHub",
    "description": "2020\u5e7412\u670823\u65e5\u00a0SuperApp from Southeast Asia. Gojek has 39 repositories available. Follow their code on GitHub.",
    "author": [],
    "author_link": [],
    "domain": "www.baidu.com",
    "link": "http://www.baidu.com/link?url=p8LhCZ2_y6mn0r4X9af87io3deFKu0dtK1JKw7O_Q0B6C0TlNXUKHrhbweJbeUHr"
  },
  {
    "result_id": 4,
    "title": "\u5370\u5c3c\u5de8\u5934Gojek\u4e0eTokopedia\u51c6\u5907\u5408\u5e76 \u4e2d\u4e1c\u5373\u5c06\u8bde\u751f\u4e9a\u9a6c\u900a\u4f18...",
    "description": "2021\u5e741\u67086\u65e5\u00a0\u636e\u62a5\u9053\uff0c\u5370\u5c3c\u6253\u8f66\u652f\u4ed8\u5e94\u7528Gojek\u4e0e\u5f53\u5730\u7535\u5546\u5de8\u5934Tokopedia\u6df1\u5165\u6d3d\u8c08\uff0c\u4e24\u5bb6\u516c\u53f8\u51c6\u5907\u5408\u5e76\uff0c\u5408\u5e76\u4e4b\u540e\u65b0\u516c\u53f8\u5c06\u4f1a\u4e0a\u5e02\u3002\u77e5\u60c5\u4eba\u58eb\u79f0\uff0cGojek\u548cTokopedia\u5df2\u7ecf\u7b7e\u7f72\u6295\u8d44\u610f\u5411\u4e66...",
    "author": [],
    "author_link": [],
    "domain": "www.baidu.com",
    "link": "http://www.baidu.com/link?url=uGGF-4rq4EcU8JtMDuL3qGr_etIBiEYhuT4U6QoBIG6yjbWndf2KqcrMunpdEXODi8944fxnBFdu2yQWvALdxo5a-CQeT4eLRYE3TIPiNcC"
  },
 //many more...
]

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.