NEW YORK (AP) — Women's health magazine Self is ending its print edition after nearly four decades to focus on its website and video that's shared on social-media sites.

The print run begun in 1979 will end after the February edition. Twenty people will lose their jobs but may find new ones within Conde Nast, Self's owner.

Self's single-copy newsstand sales and circulation have declined over the past five years, according to industry tracker Alliance for Audited Media. But Conde Nast says Self's online traffic and video views are growing.

Magazines have had to adapt as consumer attention and ad dollars migrate online, with some publishing fewer editions, going online-only or folding entirely.