Skip to main content

A scraper for fernsehserien.de

Project description

pyfernsehserien

Python package for scraping data from fernsehserien.de. It currently supports only searching and retrieving title information. I haven't implemented additional features since they aren't needed for my purposes. Feel free to contribute to or fork this project. Also, note that I didn't put much effort into testing, so don't expect much.

Installation

You can install pyfernsehserien via pip:

pip install pyfernsehserien

Usage

Here's a basic example demonstrating how to use this package:

from pyfernsehserien import Fernsehserien

# Initialize Fernsehserien object
fs = Fernsehserien()

# Search for movies/series
results = fs.search("Rick and Morty")["items"]

# Get detailed information about the first result
info = fs.get(results[0]["slug"])

print(info)

The output will look something like this:

{
    "id": 24036,
    "slug": "/rick-and-morty",
    "title": "Rick and Morty",
    "type": "show",
    "genres": [
        "Comedy",
        "Science-Fiction",
        "Zeichentrick"
    ],
    "original_language": "en",
    "overview": "Im Mittelpunkt der Serie stehen der Teenager Morty und seine Familie. Morty wird von den üblichen Highschool-Problemen geplagt. Sein Großvater Rick ist ein genialer Wissenschaftler mit Alkoholproblem, der ihn immer wieder zu riskanten Abenteuern anstiftet, bei denen es auch schon mal zum Kontakt mit Aliens kommt. Vater Jeff sieht Rick als negativen Einfluss für seinen Sohn. Zur Familie zählen außerdem die dominante Mutter Beth und Mortys ältere Schwester Summer. (Text: MB)",
    "release_year": {
        "year": 2013,
        "end": null
    },
    "number_of_seasons": 7,
    "number_of_episodes": 71,
    "release_dates": [
        {
            "title": "Deutsche TV-Premiere",
            "date": "2014-11-29",
            "channel": "TNT Serie"
        },
        {
            "title": "Free-TV-Premiere",
            "date": "2016-09-06",
            "channel": "Rocket Beans TV"
        },
        {
            "title": "Original-TV-Premiere",
            "date": "2013-12-02",
            "channel": "adult swim"
        }
    ],
    "origin_countries": [
        "USA"
    ],
    "credits": [
        {
            "name": "Kari Wahlgren",
            "role": null,
            "image_url": "https://bilder.fernsehserien.de/gfx/person_1000/k/kari-wahlgren.jpg",
            "profile_url": "/kari-wahlgren/filmografie"
        },
        ...
    ]
}

License

This project is licensed under the terms of GNU General Public License, Version 3.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfernsehserien-1.0.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfernsehserien-1.0.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file pyfernsehserien-1.0.0.tar.gz.

File metadata

  • Download URL: pyfernsehserien-1.0.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.13 Windows/10

File hashes

Hashes for pyfernsehserien-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d308ca11750c2af11ae680d5623292a4fc8fced7318176f92e44a2c0c91d3421
MD5 cc35b90656efe1f70114a4e5cee670f4
BLAKE2b-256 3164befb413d5586c121f63313c0bfb69c49f3677c05007819e22b58e712ac25

See more details on using hashes here.

File details

Details for the file pyfernsehserien-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pyfernsehserien-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.13 Windows/10

File hashes

Hashes for pyfernsehserien-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73f8aad478580f334455915eadf76b93e9b6dd8a81788ceb918ff87c867a3eaf
MD5 6fdfdf751f702b04a481447a9a02a1fe
BLAKE2b-256 31e9507cd1d07e6940bef286d205de4f0ef19676778977d09c508620fe70ada9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page