coding-blocks / content-downloader

Python package to download files on any topic in bulk.
MIT License
8 stars 25 forks source link

duckduckgo api limitations #9

Closed akansh97531 closed 7 years ago

akansh97531 commented 7 years ago

@nikhilkumarsingh i was exploring duckduckgo api , and it turns out it is so limited :: https://duckduckgo.com/api

i tried the query : "python" and it returned many results, while query "python filetype:pdf" , returned 0 results

nikhilkumarsingh commented 7 years ago

@akansh97531 You will need to scrape their web search results page. You can follow this: https://github.com/fossasia/query-server/blob/master/app/scraper.py