A python library for searching and downloading articles from DergiPark which is a website where people can browse articles based on numerous filters .
-
First, install a driver from the driver links listed here: https://pypi.org/project/selenium/
-
To download articles, you should run searchAndDownload method. There are a few parameters to consider:
- topic: (default None) This is the topic you want to search for. It is limited with the topics listed in DergiPark. To access these topics and their corresponding links, check out 'topicLinkDict.pickle' file. It may be in a different path if specified.
- searchPhrase: (default None) This is the phrase you want to search for. There is no limitation.
- maxArticle: (default None) DergiPark lists at most 9600 articles. If maxArticle is not specified, the code will download at most 9600 articles. You can change this parameter if you want to download less than 9600 articles. You must not give a number greater than 9600.
- headless: (default True) If you want to see the browser while downloading, set it to False.
- language: (default türkçe) Specify the article language. If the authors didn't specify the article language, this article won't be downloaded. You should give one language at a time.
- path: (default None) Specify the where to download the articles. If not specified, creates an articles folder.
- progress: (default True) Whether to see a progress bar while downloading. Set it to False if you don't want to see it.
- console_logging: (default False) Whether you want to see an output in the console for each article downloaded.
- driver_path: (default None) Specify the driver path.
-
If you want to renew the topic dictionary, please call refreshTopicPickle method with these parameters:
- dictPath: (default topicLinkDict.pickle) Specify the pickle you want to write the dictionary.
- driverPath: (default None) Specify the driver path.
All tests were conducted using chromedriver.
Metadata
Release files for spyderDergiPark 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| spyderDergiPark-0.0.9.tar.gz | 5.4 kB | Without provenance | Details for spyderDergiPark-0.0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| spyderDergiPark-0.0.9-py3-none-any.whl | Python 3 | none | any | Details for spyderDergiPark-0.0.9-py3-none-any.whl |
Total release size: 11.6 kB
Release files / spyderDergiPark-0.0.9.tar.gz
| Download URL | spyderDergiPark-0.0.9.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51ab86f49cc5cbc27130b1756095ce3004925611635848c08cd1b5885324433b
|
|
BLAKE2b-256 checksum How to use checksums |
c3fbea3137f4fad3d902d163d40996752a15b60561b2206896f010c4d38fc040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1
|
Release files / spyderDergiPark-0.0.9-py3-none-any.whl
| Download URL | spyderDergiPark-0.0.9-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc0430755b8895077edaa1ab8d50e297c679556d1aef478ef891014caba3528c
|
|
BLAKE2b-256 checksum How to use checksums |
5e7cae25a337fb562a1b62296895dd23d4afcd3a45063a5f131c43c88bdd0f39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1
|
Security for spyderDergiPark 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.