This is a continuation for scraperForLitUrdu repo, which has now been made into an android app with the same node.js backend plus some improvements.
This has been built only in 2 days, so pardon the bad UI. If you can improve the UI, please do create a pull request.
- Go to rekhta.org and go to a poet's/author's listing page, e.g. Ghalib's all ghazals https://www.rekhta.org/poets/mirza-ghalib/ghazals?lang=ur
- Scroll to the bottom of the page so that all the links are loaded.
- Add
CopyRekhtaLinks
bookmarklet from here to copy all links. (In PC, simply drag-drop the link to bookmarks bar. In android phone, copy the link, create a new bookmark and paste.) - When you're on poet's listing page, use CopyRekhtaLinks bookmarklet. In PC, just click the bookmark. In android, type the name in the address-bar and select CopyRekhtaLinks bookmark you saved in step 3.
- Congratulations! You have copied all the links.
- Paste in all the links in dRekhta's top text-area. Input a file name.
- Click
Start Fetching
and wait for the app to scrape all the links. - If you've downloaded a poet's data, you can also read the content and share it on WhatsApp.
The app has been compiled using androidjs.
So you have to:
- Install androidjs
- Clone the repository
- Open the project directory and run
npm i
- Run
node .
to run the server - Open the front-end i.e.
index.html
manually in a browser or using "Live Server". - Make changes, test in the pc.
- Once finalized, build the APK using
androidjs b --release
Pull requests are most welcome.