You can easily add any site or platform to socid_extractor.
Take a look at wiki page with instructions (WIP) and study naming convention for fields.
It will be better to make test in the same commit. You can do it the following way:
- Add extraction rule to
socid_extractor/schemes.py
. - Run
./run.py --url URL
and copy output (lines of formatfields: value
). - Add new test function to
tests/test_e2e.py
, paste your output there and save file. - Run
cd tests && reformat.sh
to prepare assertions, and check that the test is running successfully.
And don't forget to update the table with methods by the script ./revision.py
!