Closed mabed-fr closed 4 years ago
Its just search options, I have add it in todolist (with search by category, etc) on dev branch, but before I will finish an big refacto on method search usage.
and what is torrent subtitle, is it "Description" field ?
Yes its search options
My bad I don't have à field for subtiles..
thank you for your work!
Added, make sure you are using yggtorrentscraper==1.2.3
I haven't test so much search by category, subcategory and fields so it can be a bit bugged.
Its not very easy to use, I will write better documentation in the future.
This example should work
import requests
from yggtorrentscraper import YggTorrentScraper
scraper = YggTorrentScraper(requests.session())
torrents_url = scraper.search(
{
"name": "walking dead",
"category": "films_&_videos",
"subcategory": "serie_tv",
"options": {
"langue": {"francais_(vff/truefrench)", "multi_(francais_inclus)"},
"qualite": {"bluray_[full]"},
"saison": {"serie_integrale"},
},
}
)
You can find all categories, subcategories and options here : https://github.com/Harkame/YggTorrentScraper/blob/master/yggtorrentscraper/categories.py
Do you want add this feature :
Its possible ?
Thank you :)
Mathieu